Skip to content

Commit

Permalink
fix(install): [git] make postinstall script work with git install (#13
Browse files Browse the repository at this point in the history
)

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware authored Dec 26, 2022
1 parent 97adaf9 commit c063f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"fix:dedupe": "yarn dedupe --strategy=highest",
"fix:format": "prettier --cache --write .",
"fix:lint": "yarn check:lint --cache --fix",
"postinstall": "chmod +x .husky/* && husky install",
"postinstall": "[ -f ./node_modules/.bin/husky ] && chmod +x .husky/* && husky install || exit 0",
"postpack": "toggle-scripts +postinstall",
"postpublish": "toggle-scripts +prepack",
"prepack": "toggle-scripts -postinstall && yarn build",
Expand Down

0 comments on commit c063f13

Please sign in to comment.