vanishs
2015-12-16 08:19:02 +08:00
官方 quickstart 的 package.json 好像有问题(我遇到是 scripts 这里有些问题),如果遇到这个问题 可以试试:
{
"name": "angular2-quickstart",
"version": "1.0.0",
"scripts": {
"tsc": "tsc",
"tsc:w": "tsc -w -p src",
"lite": "lite-server --open src --baseDir './' --baseDir './src'",
"go": "concurrent \"npm run tsc:w\" \"npm run lite\" "
},
"license": "ISC",
"devDependencies": {
"concurrently": "^1.0.0",
"lite-server": "^1.3.1",
"typescript": "^1.7.5"
},
"dependencies": {
"angular2": "^2.0.0-beta.0",
"es6-promise": "^3.0.2",
"es6-shim": "^0.33.13",
"reflect-metadata": "^0.1.2",
"rxjs": "^5.0.0-beta.0",
"systemjs": "^0.19.8",
"zone.js": "^0.5.10"
}
}