From 9cf56cb925474c6dbbc79c9cd5a7d927ce7a3a17 Mon Sep 17 00:00:00 2001 From: pavel-surinin Date: Wed, 26 Dec 2018 14:18:03 +0200 Subject: [PATCH] added publish scripts --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index c0fb438..f0d2887 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,8 @@ "copy": "cp package.json target/out/package.json && cp readme.md target/out/readme.md && cp LICENCE target/out/LICENCE && cp .npmignore target/out/.npmignore", "commit:test": "git add . && git commit -m \"test commit\" && git push", "publish:patch": "npm run build && npm version patch && npm run copy && npm publish target/out", + "publish:minor": "npm run build && npm version minor && npm run copy && npm publish target/out", + "publish:major": "npm run build && npm version major && npm run copy && npm publish target/out", "coveralls": "cat target/coverage/lcov.info | coveralls", "docsify": "docsify init ./docs", "docs:commit": "npm run docsify && git add . && git commit -m \"Updated generated documentation\" && git push",