【发布时间】:2015-04-22 13:49:48
【问题描述】:
使用带有以下内容的 package.json 文件
"devDependencies": {
"grunt": "^0.4.5",
"grunt-concurrent": "^1.0.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-dev-update": "^1.1.0",
"grunt-jasmine-node-new": "^0.3.2",
"grunt-node-inspector": "^0.1.5",
"grunt-nodemon": "^0.4.0",
"grunt-npm-install": "^0.1.0"
}
我得到一个 npm outdated 的输出,看起来像
为什么通缉不是 0.11.0? "grunt-contrib-jshint": "^0.10.0" 不是指任何大于或等于 0.10.0 但小于 1.0.0 (>= 0.10.0 && < 1.0.0) 的版本吗?使用this 作为参考。
我正在使用节点 v0.12.0 和 npm v2.5.1。
【问题讨论】:
标签: javascript node.js npm package.json