Bump package.json version and git tags it
npm install git-bump-cli --save
npm install git-bump-cli -g
Usage
$ bump <type>
$ bump patch // 1.0.1
$ bump minor // 1.1.0
$ bump major // 2.0.0
var bump = require('git-bump-cli');
var type = 'major';
var options = {
files:['bower.json','package.json'],
message:'new version'
}
bump(type,options,callback);
MIT