An open API service indexing awesome lists of open source software.

https://github.com/ragingwind/bumpup


https://github.com/ragingwind/bumpup

Last synced: about 19 hours ago
JSON representation

Awesome Lists containing this project

README

          

# bumpup [![Build Status](https://travis-ci.org/ragingwind/bumpup.svg?branch=master)](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