Skip to content

Commit f8a8e19

Browse files
committed
Uninstall and install hooks in postinstall script
1 parent 1e81dd4 commit f8a8e19

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
},
4040
"engine-strict": true,
4141
"scripts": {
42-
"postinstall": "git-hooks --install",
43-
"preuninstall": "git-hooks --uninstall",
42+
"postinstall": "git-hooks --uninstall; git-hooks --install",
4443
"test": "jscs . && jshint . && mocha --reporter spec --recursive tests",
4544
"coverage": "istanbul cover _mocha --recursive tests"
4645
},

0 commit comments

Comments
 (0)