bmp
Bmp (said /bump/) is a small command-line utility for quickly setting or incrementing the version in an NPM module's package.json file.
npm install --global bmp
Usage
usage: bmp [command] commands: : prints current version major, b, M: increment major version minor, m: increment minor version patch, p: increment patch version help: prints the help menu : validates & sets version to arg
Examples
bmp # -> 1.0.4 bmp M # -> 2.0.0 bmp m # -> 2.1.0 bmp p # -> 2.1.1 bmp 1.0.4 # -> 1.0.4
Contributing
If you find a bug, create an issue or be fabulous and fix the problem and write the tests up yourself in a coherent pull request.
Run tests with the npm test
command.
Follow me on Twitter for updates or just for the lolz and please check out my other repositories if I have earned it. I thank you for reading.