-3
我用了幾個命令,以更新的角度2,如Angular 2的最新版本是什麼?如何更新它?
npm update --save
在的package.json角2的版本是2.0.0^- beta.21,這是最新的版本?如果沒有,那麼我怎樣才能將其更新到最新版本
這裏是我的package.json文件
{
"name": "angular2-quickstart",
"version": "1.0.0",
"scripts": {
"start": "concurrent \"npm run tsc:w\" \"npm run lite\" ",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"typings": "typings",
"postinstall": "typings install"
},
"license": "ISC",
"dependencies": {
"angular2": "^2.0.0-beta.21",
"es6-promise": "^4.1.0",
"es6-shim": "^0.35.3",
"reflect-metadata": "^0.1.10",
"rxjs": "^5.3.1",
"systemjs": "^0.20.12",
"zone.js": "^0.8.10"
},
"devDependencies": {
"@angular/cli": "^1.0.2",
"concurrently": "^3.4.0",
"lite-server": "^2.1.0",
"typescript": "^2.3.2"
}
}