Skip to content

Commit

Permalink
chore: Add commitizen
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Sep 25, 2017
1 parent 1b3414f commit 56c065a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -8,3 +8,4 @@
[![devDependency Status](https://david-dm.org/semantic-release/error/dev-status.svg)](https://david-dm.org/semantic-release/error#info=devDependencies)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
[![license](https://img.shields.io/github/license/semantic-release/error.svg)](https://github.com/semantic-release/error/blob/master/LICENSE)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
8 changes: 8 additions & 0 deletions package.json
Expand Up @@ -5,8 +5,15 @@
"bugs": {
"url": "https://github.com/semantic-release/error/issues"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"devDependencies": {
"coveralls": "^2.11.4",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"nyc": "^11.2.1",
"semantic-release": "^8.0.0",
"standard": "^10.0.3",
Expand All @@ -27,6 +34,7 @@
"coverage": "nyc report",
"coverage:upload": "npm run -s coverage -- --reporter=text-lcov | coveralls",
"pretest": "standard",
"cm": "git-cz",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "nyc tap --no-cov test/*.js"
},
Expand Down

0 comments on commit 56c065a

Please sign in to comment.