在使用packages.json一段时间以后发现有部分依赖包有了新的版本,如何将package.json中的依赖更新为最新版呢?shell
npm install -g npm-check-updates
ncu
ncu -u
更多参数npm