Check whether the package depends npm a relatively new version
installation
npm i -g npm-check-updates
use
ncu --help // 查看相关命令
ncu // 检查当前项目中有没有哪些依赖包可更新
ncu -u // 更新package.json
如果有更新的包,删除node_modules重新install
Check whether the package depends npm a relatively new version
npm i -g npm-check-updates
ncu --help // 查看相关命令
ncu // 检查当前项目中有没有哪些依赖包可更新
ncu -u // 更新package.json
如果有更新的包,删除node_modules重新install