We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
postinstall
1 parent 97adaf9 commit c063f13Copy full SHA for c063f13
1 file changed
package.json
@@ -60,7 +60,7 @@
60
"fix:dedupe": "yarn dedupe --strategy=highest",
61
"fix:format": "prettier --cache --write .",
62
"fix:lint": "yarn check:lint --cache --fix",
63
- "postinstall": "chmod +x .husky/* && husky install",
+ "postinstall": "[ -f ./node_modules/.bin/husky ] && chmod +x .husky/* && husky install || exit 0",
64
"postpack": "toggle-scripts +postinstall",
65
"postpublish": "toggle-scripts +prepack",
66
"prepack": "toggle-scripts -postinstall && yarn build",
0 commit comments