bumpup
You can use for your npm packages or Yeoman package.json template that needed to bumpup version of dependences
Install
$ npm install --save bumpup
$ yarn add bumpup
Usage
var bumpup = require('bumpup');
bumpup('package.json', options, function(err, packages) {
// write or diff
});
CLI
# 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