https://github.com/ragingwind/bumpup
https://github.com/ragingwind/bumpup
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/ragingwind/bumpup
- Owner: ragingwind
- Created: 2015-01-22T09:38:09.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2022-01-27T11:17:33.000Z (over 4 years ago)
- Last Synced: 2025-10-28T20:31:03.287Z (8 months ago)
- Language: TypeScript
- Size: 237 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# bumpup [](https://travis-ci.org/ragingwind/bumpup)
> You can use for your npm packages or Yeoman package.json template that needed to bumpup version of dependences
## Install
```sh
$ npm install --save bumpup
$ yarn add bumpup
```
## Usage
```js
var bumpup = require('bumpup');
bumpup('package.json', options, function(err, packages) {
// write or diff
});
```
## CLI
```sh
# bump up to latest version
bumpup package.json
bumpup _package.json --regex --verbose
bumpup package.json --output new-package.json
```
## Options
- regex: Choose the way of parse the package.json. json is default.
- output: Output file name, If given no filename for output then source file will be overwritten.
- verbose: Show what is going on.
## License
MIT © Jimmy Moon