Skip to content

Commit

Permalink
Move husky install to prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
paleite committed Jul 28, 2022
1 parent ff557f4 commit 9048bb3
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 @@ -30,9 +30,9 @@
"build": "tsc --build tsconfig.build.json",
"clean": "tsc --build tsconfig.build.json --clean",
"format": "prettier --write .",
"postinstall": "husky install",
"lint": "eslint --cache --ext .js,.ts --fix .",
"minify": "find dist/ -maxdepth 1 -iname '*.js' -exec node_modules/.bin/terser --compress --ecma 2020 --mangle --module --output {} -- {} \\;",
"prepare": "husky install",
"prepublishOnly": "pinst --disable",
"prepublish": "yarn run clean && yarn run build && yarn run minify",
"postpublish": "pinst --enable",
Expand Down

0 comments on commit 9048bb3

Please sign in to comment.