npm-run-all
批量运行npm脚本
--parallel: 并行运行多个命令,例如:npm-run-all --parallel lint build
--serial: 多个命令按排列顺序执行,例如:npm-run-all --serial clean lint build:**
--continue-on-error: 是否忽略错误,添加此参数 npm-run-all 会自动退出出错的命令,继续运行正常的
--race: 添加此参数之后,只要有一个命令运行出错,那么 npm-run-all 就会结束掉全部的命令
npm outdated
查看当前package.json里面哪些包已经落后了
npm-check-updates
npm ls esbuild-windows-64
查看项目中包产生了对esbuild的依赖
npm view vite@3
查看这个包的所有依赖