diff --git a/README.md b/README.md index 40aece0..43ce12a 100644 --- a/README.md +++ b/README.md @@ -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] diff --git a/package.json b/package.json index 6ef1465..2948e2a 100644 --- a/package.json +++ b/package.json @@ -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" + } } }