Skip to content

Instantly share code, notes, and snippets.

@alvinyao
alvinyao / package.json
Created January 14, 2016 07:37
git commit validation & changelog generator
## package.json Add this file in your project base dir.
## Usage:
## $ npm run init # init git hooks
## Notes:
## 1. use `git cz` instead of `git commit`
## 2. when use `git commit`, the plugin will auto validate the commit messages
## and raise errors.
{
"devDependencies": {
"cz-conventional-changelog": "^1.1.5",