Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 748 Bytes

updating.md

File metadata and controls

50 lines (39 loc) · 748 Bytes

Updating npm dependencies

  • Install update tool (if not already done)
npm install -g npm-check-updates
  • Check outdated packages
npm-check-updates 
  • Update packages in package.json
npm-check-updates -u
  • Update local packages regarding package.json
npm udpate

Updating bower libraries

  • Install update tool (if not already done)
npm install -g npm-check-updates
  • Check outdated packages
npm-check-updates -m bower
  • Update packages in bower.json
npm-check-updates -u -m bower
  • Update local packages regarding package.json
bower udpate

Locking package versions

  • Lock down version using npm-shrinkwrap.json
npm shrinkwrap --dev