0.1.2 • Published 6 years ago

@gen-tech/version-update v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Version Update

A tool to update package.json version by its command line interface.

npm npm

Useful in build automations etc.

Install

npm install @gen-tech/version-update --save-dev

Usage

in package.json

"scripts": {
  "update-package": "gtvu"
}

npm run update-package 2.0.1


in travis.yml

before_script: npm run update-package $TRAVIS_TAG

Api

gtvu <version> --silent --safe --path

namedetailsdefault
\<version>version to update package.json with
--silentdisables loggingfalse
--safenot throws error if this is setfalse
--pathset package.json path"./package.json"

License

MIT