From 85009c34cd8a4d540c74b556354b3259ae9ac406 Mon Sep 17 00:00:00 2001 From: IagoLast Date: Thu, 10 May 2018 16:01:15 +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 46cfe95..9f9d78f 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,11 @@ "scripts": { "test": "gulp", "before-deploy": "gulp && gulp compress", - "release": "rm -rf dist && gulp && npm publish" + "release": "rm -rf dist && gulp && npm publish", + "bump": "npm version patch", + "bump:major": "npm version major", + "bump:minor": "npm version minor", + "postversion": "git push origin master --follow-tags" }, "license": "MIT" }