Update bower dependecy and change bower.json
if version is bigger.
For npm you could use nupdate.
Same as:
bower install <module> --save && bower uninstall <module> --save
npm i bupdate -g
bupdate jquery
Usage: bupdate [options]
Options:
-h, --help display this help and exit
-v, --version display version and exit
-E, --save-exact save exact version rather then semver
MIT