Skip to content

Commit f4e094b

Browse files
authored
chore: use husky instead of ghooks (#210)
ghooks is now deprecated
1 parent a9ed85a commit f4e094b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

package.json

+3-7
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"postbuild": "npm run bundle",
2929
"bundle": "rollup -c",
3030
"clean": "rimraf build/* coverage/*",
31-
"prepublish": "npm run clean && npm run build"
31+
"prepublish": "npm run clean && npm run build",
32+
"commitmsg": "validate-commit-msg"
3233
},
3334
"peerDependencies": {
3435
"@angular/core": "^2.0.0",
@@ -52,8 +53,8 @@
5253
"@types/lodash": "^4.14.34",
5354
"@types/node": "^6.0.38",
5455
"apollo-client": "^0.5.1",
55-
"ghooks": "^1.3.2",
5656
"graphql-tag": "^1.0.0",
57+
"husky": "^0.12.0",
5758
"jest": "^17.0.0",
5859
"reflect-metadata": "^0.1.8",
5960
"remap-istanbul": "^0.8.4",
@@ -66,11 +67,6 @@
6667
"validate-commit-msg": "^2.8.2",
6768
"zone.js": "^0.7.1"
6869
},
69-
"config": {
70-
"ghooks": {
71-
"commit-msg": "validate-commit-msg"
72-
}
73-
},
7470
"jest": {
7571
"moduleFileExtensions": [
7672
"js"

0 commit comments

Comments
 (0)