Skip to content

Commit fc9982b

Browse files
committed
1 parent f5d3be6 commit fc9982b

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
"@types/mocha": "5",
2929
"@types/node": "9",
3030
"chai": "4",
31+
"commitizen": "^4.0.3",
32+
"cz-conventional-changelog": "^3.0.2",
3133
"globby": "8",
3234
"mocha": "5",
3335
"nyc": "11",
@@ -63,7 +65,13 @@
6365
"posttest": "tsc -p test --noEmit && tslint -p test -t stylish",
6466
"prepack": "rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme",
6567
"test": "nyc mocha --forbid-only \"test/**/*.test.ts\"",
66-
"version": "oclif-dev readme && git add README.md"
68+
"version": "oclif-dev readme && git add README.md",
69+
"commit": "git-cz"
6770
},
68-
"types": "lib/index.d.ts"
71+
"types": "lib/index.d.ts",
72+
"config": {
73+
"commitizen": {
74+
"path": "./node_modules/cz-conventional-changelog"
75+
}
76+
}
6977
}

0 commit comments

Comments
 (0)