https://github.com/andrejewski/bmp
node package version bumper
https://github.com/andrejewski/bmp
Last synced: 9 months ago
JSON representation
node package version bumper
- Host: GitHub
- URL: https://github.com/andrejewski/bmp
- Owner: andrejewski
- License: isc
- Created: 2015-05-26T21:52:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T23:20:06.000Z (over 10 years ago)
- Last Synced: 2025-05-15T11:12:53.708Z (9 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```bash
npm install --global bmp
```
## Usage
```bash
usage: bmp [command]
commands:
(no args): prints current version
major, b, M: increment major version (M.0.0)
minor, m: increment minor version (x.m.0)
patch, p: increment patch version (x.x.p)
help: prints the help menu
(otherwise): validates & sets version to arg
```
## Examples
```bash
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](https://twitter.com/compooter) for updates or just for the lolz and please check out my other [repositories](https://github.com/andrejewski) if I have earned it. I thank you for reading.