Skip to content

Commit 7655b8f

Browse files
committed
chore(git): installed latest pre-git with error message validation
1 parent dde842c commit 7655b8f

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

package.json

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"grunt-npm2bower-sync": "0.8.1",
2222
"jshint-summary": "0.4.0",
2323
"matchdep": "0.3.0",
24-
"pre-git": "0.1.1"
24+
"pre-git": "1.2.11"
2525
},
2626
"engines": {
2727
"node": "> 0.10.*"
@@ -39,16 +39,28 @@
3939
],
4040
"license": "MIT",
4141
"main": "first-paint.js",
42-
"pre-commit": [
43-
"npm test",
44-
"npm version"
45-
],
4642
"repository": {
4743
"type": "git",
4844
"url": "git@github.com:bahmutov/code-snippets.git"
4945
},
5046
"scripts": {
5147
"test": "grunt",
52-
"grunt": "grunt"
48+
"grunt": "grunt",
49+
"commit": "commit-wizard"
50+
},
51+
"config": {
52+
"pre-git": {
53+
"commit-msg": "validate-commit-msg",
54+
"pre-commit": [
55+
"npm test",
56+
"npm version"
57+
],
58+
"pre-push": [],
59+
"post-commit": [],
60+
"post-merge": []
61+
}
62+
},
63+
"czConfig": {
64+
"path": "node_modules/cz-conventional-changelog"
5365
}
54-
}
66+
}

0 commit comments

Comments
 (0)