我无法在NPM升级角2〜4。 下面是我的package.json和我运行在终端NPM更新--save,但是的package.json不会更新到最新的4角,只是保持不变。 我做错了吗?
{
"name": "todo1",
"version": "0.0.0",
"license": "MIT",
"angular-cli": {},
"scripts": {
"start": "ng serve",
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test",
"pree2e": "webdriver-manager update",
"e2e": "protractor"
},
"private": true,
"dependencies": {
"@angular/common": "^2.4.7",
"@angular/compiler": "^2.4.7",
"@angular/compiler-cli": "^2.4.7",
"@angular/core": "^2.2.3",
"@angular/flex-layout": "2.0.0-beta.4",
"@angular/forms": "^2.4.7",
"@angular/http": "^2.4.7",
"@angular/material": "^2.0.0-beta.2",
"@angular/platform-browser": "^2.4.7",
"@angular/platform-browser-dynamic": "^2.4.7",
"@angular/router": "^3.4.7",
"@types/jasmine": "^2.5.41",
"angular2-color-picker": "^1.3.0",
"angular2-jwt": "^0.1.28",
"angular2-uuid": "^1.1.1",
"core-js": "^2.4.1",
"jasmine-spec-reporter": "^2.7.0",
"karma": "^1.4.1",
"lodash": "^4.17.4",
"protractor": "^4.0.14",
"rxjs": "^5.1.0",
"ts-helpers": "^1.1.1",
"ts-node": "^1.7.3",
"tslint": "^4.1.1",
"tslint-loader": "^3.3.0",
"webdriver-manager": "^10.3.0",
"zone.js": "^0.7.6"
},
"devDependencies": {
"@angular/cli": "1.0.0-beta.31",
"@angular/compiler-cli": "^2.2.3",
"@types/jasmine": "^2.5.38",
"@types/lodash": "^4.14.52",
"@types/node": "^6.0.42",
"angular-cli": "1.0.0-beta.22-1",
"codelyzer": "~2.0.0-beta.1",
"jasmine-core": "^2.5.2",
"jasmine-spec-reporter": "^2.5.0",
"karma": "^1.2.0",
"karma-chrome-launcher": "^2.0.0",
"karma-cli": "^1.0.1",
"karma-jasmine": "^1.0.2",
"karma-remap-istanbul": "^0.2.1",
"protractor": "^4.0.9",
"ts-node": "^1.2.1",
"tslint": "^4.0.2",
"typescript": "~2.0.3",
"webdriver-manager": "^10.2.5"
}
}