node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

npm-package-bumper

npm-package-bumper

Bump an npm package.json version (minor, major, patch).

  • Update: Now basically a wrapper for bump-anything with its default configuration.

Installation

npm install npm-package-bumper

Usage

 
var bumper = require("npm-package-bumper").configure();
 
// or 'minor', or 'patch' 
bumper.major("package.json").then(onResolve, onReject);
 

That's it. Easy peasy.

Documentation

See the bump-anything documentation.