To update package.json in addition to the local modules, run
npm update --save-dev
Alternatively, the same command to save time
npm update -D
You can view the full detail of update, or any command for that matter through
npm help <cmd>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…