Package Exports
- minor
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 (minor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Minor
Semantic versioning tool. Apply major, minor and patch to version.
Install
npm i minor -g
Use example
You can update version in package.json with:
minor <version>For example: minor patch would increment patch section of version.
Use as module
npm i minor --save
How to use?
var minor = require('minor'),
console.log(minor('patch', '1.0.0'));
/* 1.0.1*/
console.log(minor('minor', '1.0.0'));
/* 1.1.0 */
console.log(minor('major', '1.0.0'));
/* 2.0.0 */Version in package.json
You could update version in package.json with:
var minor = require('minor');
minor.update('1.1.1' [,dir], function(error) {
if (error)
console.error(error.message);
});License
MIT