A simple snippet to increment your NPM version without any further step
# usage
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git] [options]
Prerelease 0.0.1-develop.1 > 0.0.1-develop.2
npm version prerelease --no-git-tag-version
Patch 0.0.1 > 0.0.2
npm version patch --no-git-tag-version
Minor 0.0.2 > 0.1.0
npm version minor --no-git-tag-version
Major 0.1.0 > 1.0.0
npm version major --no-git-tag-version
0 Comments