Skip to content

Commit 3c00546

Browse files
committed
Add generate-changelog
1 parent 3b84d52 commit 3c00546

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
"pretest": "eslint .",
88
"test": "istanbul cover _mocha",
99
"coveralls": "coveralls < coverage/lcov.info",
10-
"codeclimate": "codeclimate-test-reporter < coverage/lcov.info"
10+
"codeclimate": "codeclimate-test-reporter < coverage/lcov.info",
11+
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags && npm publish",
12+
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags && npm publish",
13+
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags && npm publish"
1114
},
1215
"engines": {
1316
"node": ">=4"
@@ -38,6 +41,7 @@
3841
"codeclimate-test-reporter": "^0.3.3",
3942
"coveralls": "^2.11.9",
4043
"eslint": "^2.13.1",
44+
"generate-changelog": "^1.0.2",
4145
"istanbul": "^0.4.4",
4246
"mocha": "^2.5.3"
4347
},

0 commit comments

Comments
 (0)