Added new publish shortcut scripts

This commit is contained in:
Chris
2015-11-17 07:48:58 +01:00
parent d2992321e8
commit fffd03bfa3
+4 -1
View File
@@ -34,7 +34,10 @@
"url": "git://github.com/newtriks/generator-react-webpack.git" "url": "git://github.com/newtriks/generator-react-webpack.git"
}, },
"scripts": { "scripts": {
"test": "mocha" "test": "mocha",
"release:major": "npm version major && npm publish && git push --follow-tags",
"release:minor": "npm version minor && npm publish && git push --follow-tags",
"release:patch": "npm version patch && npm publish && git push --follow-tags"
}, },
"dependencies": { "dependencies": {
"react-webpack-template": "^1.0.0", "react-webpack-template": "^1.0.0",