read current installed module version and update package.json
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore Release 0.0.1 Jun 15, 2015
.travis.yml
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

version-fixer

Build Status

read current installed module version and update package.json or make all module version to *

example: will change "commander": "*" to "commander": "2.8.1" in package.json

install

npm install version-fixer -g

use

cd your project_folder
version-fixer

or

version-fixer path/to/your/project

with prefix

version-fixer -p '^' path/to/your/project

make all version number to *

version-fixer -p '*' path/to/your/project

test

git clone https://github.com/zxdong262/version-fixer.git
cd version-fixer
npm i
mocha

License

MIT