Skip to content

Commit 642c92a

Browse files
authored
Merge pull request #12 from stephlm2dev/build/commitizen
Commitizen command line utility
2 parents f5d3be6 + eba74c3 commit 642c92a

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ task-warrior-export
33

44
Export {task/time}warrior data per month/per project
55

6+
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
67
[![Version](https://img.shields.io/npm/v/task-warrior-export.svg)](https://npmjs.org/package/task-warrior-export)
78
[![CircleCI](https://circleci.com/gh/stephlm2dev/task-warrior-export/tree/master.svg?style=shield)](https://circleci.com/gh/stephlm2dev/task-warrior-export/tree/master)
89
[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/stephlm2dev/task-warrior-export?branch=master&svg=true)](https://ci.appveyor.com/project/stephlm2dev/task-warrior-export/branch/master)

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)