Skip to content

Commit 2e6f325

Browse files
committed
add pinst for husky dev postinstall
1 parent b86adcf commit 2e6f325

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-popper-tooltip",
3-
"version": "4.1.1",
3+
"version": "4.1.2",
44
"description": "React tooltip library built around react-popper",
55
"author": "Mohsin Ul Haq <[email protected]>",
66
"license": "MIT",
@@ -36,7 +36,9 @@
3636
"test": "jest tests/",
3737
"storybook": "start-storybook -p 6006",
3838
"build-storybook": "build-storybook",
39-
"postinstall": "husky install"
39+
"postinstall": "husky install",
40+
"prepublishOnly": "pinst --disable",
41+
"postpublish": "pinst --enable"
4042
},
4143
"jest": {
4244
"modulePathIgnorePatterns": [
@@ -88,6 +90,7 @@
8890
"husky": "^5.1.1",
8991
"jest": "^26.6.3",
9092
"lint-staged": "^10.5.4",
93+
"pinst": "^2.1.6",
9194
"prettier": "^2.2.1",
9295
"react": "^17.0.1",
9396
"react-dom": "^17.0.1",

yarn.lock

+12
Original file line numberDiff line numberDiff line change
@@ -5765,6 +5765,11 @@ from2@^2.1.0:
57655765
inherits "^2.0.1"
57665766
readable-stream "^2.0.0"
57675767

5768+
fromentries@^1.3.2:
5769+
version "1.3.2"
5770+
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
5771+
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==
5772+
57685773
fs-extra@^0.30.0:
57695774
version "0.30.0"
57705775
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0"
@@ -8875,6 +8880,13 @@ pify@^4.0.1:
88758880
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
88768881
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
88778882

8883+
pinst@^2.1.6:
8884+
version "2.1.6"
8885+
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
8886+
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
8887+
dependencies:
8888+
fromentries "^1.3.2"
8889+
88788890
pirates@^4.0.0, pirates@^4.0.1:
88798891
version "4.0.1"
88808892
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"

0 commit comments

Comments
 (0)