diff --git a/package.json b/package.json index 1e6437e..5ba5ff9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "compile": "babel -d lib/ src/", "prepublish": "npm run compile", - "test": "npm run compile && mocha --compilers js:babel-core/register" + "test": "npm run compile && mocha --compilers js:babel-core/register", + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0" }, "author": "John Granström ", "license": "MIT", @@ -24,6 +25,12 @@ "babel-core": "^6.22.1", "babel-preset-es2015": "^6.22.0", "chai": "^3.5.0", + "cz-conventional-changelog": "^1.2.0", "mocha": "^3.2.0" + }, + "config": { + "commitizen": { + "path": "./node_modules/cz-conventional-changelog" + } } }