conventional-bump
bump package.json
version according to conventional-changelog.
conventional-bump
is built on conventional-recommended-bump.
Purpose of this library is to automatically bump the package.json version number.
Installation
$ npm install --save-dev conventional-bump
Usage
$ conventional-bump --help Usage: index.js [-p preset] Options: --version Print current version [boolean] -h, --help Show help [boolean] -p, --preset conventional-changelog preset to use [default: "angular"]
Configuration
in your package.json :
Publish a npm module
$ npm run bump && npm publish