Skip to content

Commit 6f0ee4c

Browse files
fix: update pre commit script to include husky installation and execution
1 parent 1961ddc commit 6f0ee4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"format": "eslint --fix lib test",
4242
"prepare": "npm run build",
4343
"pretest": "rimraf coverage && npm run lint",
44-
"precommit": "npm run lint",
44+
"pre-commit": "npm run lint && husky install && husky && chmod +x .husky/pre-commit && ./.husky/pre-commit",
4545
"prepush": "npm run test:unit",
4646
"generate:docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose",
4747
"husky-check": "npx husky && chmod +x .husky/pre-commit"

0 commit comments

Comments
 (0)