Skip to content

Commit b6062fb

Browse files
Update build-ts script to include husky install for pre-commit hook setup
1 parent 3ddd309 commit b6062fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "dist/index.js",
77
"scripts": {
88
"clean": "rimraf dist typings coverage",
9-
"build-ts": "npm run clean && tsc && husky && chmod +x .husky/pre-commit",
9+
"build-ts": "npm run clean && tsc && husky install && husky && chmod +x .husky/pre-commit",
1010
"build-doc": "npm run build-ts && ./node_modules/.bin/jsdoc dist/ -r -R README.md -d docs",
1111
"watch-ts": "npm run clean && tsc -w",
1212
"compile": "tsc",

0 commit comments

Comments
 (0)