Skip to content

Commit 6000f73

Browse files
committed
fix: script updated
1 parent 0e8bced commit 6000f73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@
2626
"prebuild": "rimraf dist",
2727
"build": "tsc && rollup -c",
2828
"format": "prettier --write \"src/**/*.ts\"",
29-
"prepare": "husky install && chmod +x .husky/pre-commit && npm run build",
29+
"prepare": "npm run build",
3030
"prepublishOnly": "npm test",
3131
"version": "npm run format && git add -A src",
32-
"postversion": "git push && git push --tags"
32+
"postversion": "git push && git push --tags",
33+
"husky-check": "npm run build && husky install && chmod +x .husky/pre-commit"
3334
},
3435
"author": "Contentstack",
3536
"license": "MIT",

0 commit comments

Comments
 (0)