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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -