Skip to content

Commit

Permalink
add pinst for husky dev postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsinulhaq committed Feb 23, 2021
1 parent b86adcf commit 2e6f325
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-popper-tooltip",
"version": "4.1.1",
"version": "4.1.2",
"description": "React tooltip library built around react-popper",
"author": "Mohsin Ul Haq <mohsinulhaq01@gmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -36,7 +36,9 @@
"test": "jest tests/",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"postinstall": "husky install"
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"jest": {
"modulePathIgnorePatterns": [
Expand Down Expand Up @@ -88,6 +90,7 @@
"husky": "^5.1.1",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"pinst": "^2.1.6",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5765,6 +5765,11 @@ from2@^2.1.0:
inherits "^2.0.1"
readable-stream "^2.0.0"

fromentries@^1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==

fs-extra@^0.30.0:
version "0.30.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0"
Expand Down Expand Up @@ -8875,6 +8880,13 @@ pify@^4.0.1:
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==

pinst@^2.1.6:
version "2.1.6"
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
dependencies:
fromentries "^1.3.2"

pirates@^4.0.0, pirates@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"
Expand Down

0 comments on commit 2e6f325

Please sign in to comment.