JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 666
  • Score
    100M100P100Q108357F
  • License MIT

Increment version number in package.json (or bower.json)

Package Exports

  • versionup

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (versionup) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

versionup

Build Status Code Climate Code Coverage npm version

Tiny script to increment version number in package.json (or bower.json)

For example, {"version" : "1.0.0} -> {"version" : "1.0.1}

Usage

Just path your project root path to version up package.json (or bower.json).

var versionup = require('versionup');
versionup({
    path: '__your_project_root_path__'
});

Available options

Key Default Description
path process.cwd() Project root path or json file path to work with.
level "micro" Level to change. "major", "minor", or "micro".
amount 1 Amount to increment.

Installation

$ npm install --save-dev

Using with CLI

$ npm install --g
$ versionup -p "${~/my_project}" -l "micro" -a "1"

License

This software is released under the MIT License.