Skip to content

Commit 248b421

Browse files
authored
fix: only install commit hook in dev env
1 parent c41d301 commit 248b421

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
@@ -6,7 +6,7 @@
66
"test": "mocha",
77
"lint": "eslint .",
88
"tdd": "mocha --watch --reporter min",
9-
"postinstall": "validate-commit-msg",
9+
"pretest": "validate-commit-msg",
1010
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
1111
},
1212
"repository": {

0 commit comments

Comments
 (0)