--dry-run
"scripts": {
"patch-release": "npm version patch && npm publish && git push --follow-tags",
"minor-release": "npm version minor && npm publish && git push --follow-tags",
"major-release": "npm version major && npm publish && git push --follow-tags"
}
call npm run patch-release
, npm run minor-release
or npm run major-release
shelljs
execute shell commands within node