Skip to content

Commit 7db3c91

Browse files
committed
feat(automation): add commitizen and conventonal changelog pacakge
Add conventional commit message feature so that semantic-release can autogenerate changelog and release notes "closes 65"
1 parent dd0a71f commit 7db3c91

File tree

2 files changed

+1179
-34
lines changed

2 files changed

+1179
-34
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"scripts": {
1010
"test": "tape -r @babel/register tests/**/*.js | ./node_modules/.bin/tap-spec",
1111
"lint": "eslint . && echo 'No linting error found'",
12+
"commit": "git-cz",
1213
"compile": "babel -d dist/ src/",
1314
"preinstall": "echo '\r\nThis package depends on git. Please install, if you do not have it yet\r\n'",
1415
"travis-deploy-once": "travis-deploy-once",
@@ -19,12 +20,19 @@
1920
"pre-commit": "npm run lint && npm run test"
2021
}
2122
},
23+
"config": {
24+
"commitizen": {
25+
"path": "./node_modules/cz-conventional-changelog"
26+
}
27+
},
2228
"author": "Nur Rony<[email protected]>",
2329
"license": "MIT",
2430
"dependencies": {
2531
"@babel/polyfill": "^7.0.0-beta.46",
2632
"async-waterfall": "^0.1.5",
2733
"chalk": "^2.4.1",
34+
"commitizen": "^2.9.6",
35+
"cz-conventional-changelog": "^2.1.0",
2836
"git-url-parse": "^9.0.0",
2937
"lodash.map": "^4.6.0",
3038
"lodash.omit": "^4.5.0",

0 commit comments

Comments
 (0)