Skip to content

Commit a5b011b

Browse files
committed
chore(ghooks): Added ghooks to run test before commiting the file
1 parent 1846a76 commit a5b011b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"commitizen": "^1.0.4",
4141
"cssnano": "^2.6.1",
4242
"cz-conventional-changelog": "^1.1.0",
43+
"ghooks": "^0.3.2",
4344
"grunt": "~0.4.5",
4445
"grunt-browserify": "^4.0.0",
4546
"grunt-cli": "~0.1.13",
@@ -62,5 +63,10 @@
6263
},
6364
"czConfig": {
6465
"path": "node_modules/cz-conventional-changelog"
66+
},
67+
"config":{
68+
"ghooks":{
69+
"pre-commit":"npm run test"
70+
}
6571
}
6672
}

0 commit comments

Comments
 (0)