📌  相关文章
📜  如何将 package.json 中的每个依赖项更新到最新版本? - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:38.337000             🧑  作者: Mango

代码示例1
{
  "name": "myproject",
  "description": "my node project",
  "version": "1.0.0",
  "engines": {
    "node": "0.8.4",
    "npm": "1.1.65"
  },
  "private": true,
  "dependencies": {
    "express": "~3.0.3", // how do I get these bumped to latest?
    "mongodb": "~1.2.5",
    "underscore": "~1.4.2",
    "rjs": "~2.9.0",
    "jade": "~0.27.2",
    "async": "~0.1.22"
  }
}