npm dleete all packages of project code example
Example 1: update all dependencies npm
npm update //update all local packages
Example 2: npm update
npm update --save
npm update //update all local packages
npm update --save