Bump an npm package.json version
Bump an npm package.json version (minor, major, patch).
- Update: Now basically a wrapper for bump-anything with its default configuration.
npm install npm-package-bumper
var bumper = require"npm-package-bumper"configure;// or 'minor', or 'patch'bumpermajor"package.json"thenonResolve onReject;
That's it. Easy peasy.
See the bump-anything documentation.