From 5aec55dd307f3dbfe4dd824117bf5eb4ab9948d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Granstr=C3=B6m?= Date: Fri, 27 Jan 2017 15:47:11 +0100 Subject: [PATCH] docs(changelog): Added changelog automation --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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" + } } }