diff --git a/package.json b/package.json index 48f9eae..64a0c52 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,10 @@ "watch-test": "cross-env NODE_ENV=test karma start", "tslint": "tslint \"test/**/*.ts\" --exclude \"test/node_modules/**/*\"", "tsc": "tsc", - "jsdoc": "jsdoc -c ./jsdoc.json -t ./node_modules/ink-docstrap/template -R README.md ./etc" + "jsdoc": "jsdoc -c ./jsdoc.json -t ./node_modules/ink-docstrap/template -R README.md ./etc", + "release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags", + "release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags", + "release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags" }, "dependencies": { "@types/core-js": "0.9.34", @@ -94,6 +97,7 @@ "@angular/platform-browser": "2.0.2", "@angular/platform-browser-dynamic": "2.0.2", "@angular/router": "3.0.2", + "generate-changelog": "1.0.2", "ink-docstrap": "1.3.0", "jasmine-node": "1.14.5", "jsdoc": "3.4.2",