Skip to content

Commit db6d997

Browse files
author
Valentin Hervieu
committed
chore(commit): Set up commitizen to write generic commits
1 parent 8956b7e commit db6d997

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@
1111
"angular",
1212
"slider"
1313
],
14+
"scripts": {
15+
"commit": "git-cz"
16+
},
1417
"devDependencies": {
1518
"angular-mocks": "^1.4.8",
1619
"chai": "^3.4.1",
1720
"chai-as-promised": "^5.1.0",
1821
"chai-things": "^0.2.0",
22+
"commitizen": "^2.4.6",
23+
"cz-conventional-changelog": "^1.1.5",
1924
"grunt": "~0.4.2",
2025
"grunt-angular-templates": "^0.5.7",
2126
"grunt-contrib-concat": "^0.5.1",
@@ -40,5 +45,8 @@
4045
},
4146
"author": "Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]>",
4247
"license": "MIT",
43-
"readmeFilename": "README.md"
48+
"readmeFilename": "README.md",
49+
"czConfig": {
50+
"path": "node_modules/cz-conventional-changelog"
51+
}
4452
}

0 commit comments

Comments
 (0)