From e2177cf443183cc511a65be461e779997c560d6d Mon Sep 17 00:00:00 2001 From: IagoLast Date: Thu, 10 May 2018 16:06:26 +0200 Subject: [PATCH] Add release scripts --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2e89940..7a29c27 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,10 @@ "pretest": "npm install", "test": "mocha -R spec", "tdd" : "env HIDE_LOGS=true mocha -w -R spec", - "coverage": "istanbul cover ./node_modules/.bin/_mocha && coveralls < ./coverage/lcov.info" + "coverage": "istanbul cover ./node_modules/.bin/_mocha && coveralls < ./coverage/lcov.info", + "bump": "npm version patch", + "bump:major": "npm version major", + "bump:minor": "npm version minor", + "postversion": "git push origin master --follow-tags" } }