npm cache clean -f 清除缓存

npm outdated 检查模块版本

npm install -g npm-check-updates

ncu  //显示当前目录下项目中所有新的依赖包

ncu -u //更新项目package文件

npm install

相关文章: