node.js - How do specify latest point release in package.json -
within package.json file, how specify want latest point release version of module, event if still have 1 of same minor version?
for example, have dependency on module var, version 1.1. have 1.1.0 installed in node_modules already, module revs 1.1.1. how have when run npm install
again, 1.1.1 replaces 1.1.0
would be
"bar": "1.1.x"
"bar": "~1.1.*"
"bar": "^1.1.*"
or else together?
use "bar": "latest"
in package.json
, when want update use npm update
.
Comments
Post a Comment