chore: added commitizen (#143)

* chore(package): added commitizen

I added `git-cz` (commitizen) with the angular adapter (which seems to work)

* docs(readme): added cz badge

Added the badge to indicate the commitizen-friendliness of this repo.

* revert: removed the category changes from another PR

It removes the addition of a maintenance category to keep them separated.
This commit is contained in:
Maximilian Berkmann 2019-01-17 11:05:09 +00:00 committed by GitHub
parent a6ae9beac8
commit 720f110298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View file

@ -13,6 +13,7 @@
[![version][version-badge]][package] [![downloads][downloads-badge]][downloads]
[![MIT License][license-badge]][license]
[![Chat on Slack][chat-badge]][chat]
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![All Contributors](https://img.shields.io/badge/all_contributors-28-orange.svg?style=flat-square)](#contributors)
[![PRs Welcome][prs-badge]][prs] [![Code of Conduct][coc-badge]][coc]

View file

@ -17,7 +17,8 @@
"build": "kcd-scripts build",
"lint": "kcd-scripts lint",
"test": "kcd-scripts test",
"validate": "kcd-scripts validate"
"validate": "kcd-scripts validate",
"commit": "npx git-cz"
},
"husky": {
"hooks": {
@ -50,6 +51,8 @@
},
"devDependencies": {
"codecov": "^3.1.0",
"cz-conventional-changelog": "^2.1.0",
"git-cz": "^1.8.0",
"kcd-scripts": "^0.49.0",
"nock": "^10.0.6",
"semantic-release": "^15.13.2"
@ -68,5 +71,10 @@
"func-names": "off",
"consistent-return": "off"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}