vik

CLI Semver autoincrement with major, minor, and patch.

npm install vik
4 downloads in the last day
4 downloads in the last week
43 downloads in the last month

Vik

Using Semver to increment your package.json (and bower.json) npm version based on the major, minor, patch. Your cwd can be a child of the directory where your JSON config files reside – Vik will recursively find them thanks to ParentPath!

Install: npm install vik -gwith -g (global) npm will automatically add vik to your $PATH.

Commands

  • Increment major: vik major or vik major+;
  • Increment minor: vik minor or vik minor+;
  • Increment patch: vik patch or vik patch+;

You can also decrement the versions with minus:

  • Decrement major: vik major-;
  • Decrement minor: vik minor-;
  • Decrement patch: vik patch-;
npm loves you