Make aspnet-angular compatible with AoT compilation
This commit is contained in:
Родитель
c83605baff
Коммит
5f1450c9ba
|
@ -1,3 +1,5 @@
|
|||
/node_modules/
|
||||
**/*.js
|
||||
**/*.d.ts
|
||||
**/*.metadata.json
|
||||
/compiled
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
!/*.js
|
||||
!/*.d.ts
|
||||
/compiled
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"name": "aspnet-angular",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "Helpers for using Angular in ASP.NET Core projects",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"prepublish": "rimraf *.d.ts && tsc && echo 'Finished building NPM package \"aspnet-angular\"'",
|
||||
"prepublish": "rimraf *.d.ts && ngc && echo 'Finished building NPM package \"aspnet-angular\"'",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -18,11 +18,12 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@angular/common": "^4.3.2",
|
||||
"@angular/compiler": "^4.3.2",
|
||||
"@angular/compiler-cli": "^4.3.2",
|
||||
"@angular/core": "^4.3.2",
|
||||
"@angular/http": "^4.3.2",
|
||||
"@angular/platform-browser": "^4.3.2",
|
||||
"rimraf": "^2.6.1",
|
||||
"typescript": "^2.4.2",
|
||||
"rxjs": "^5.4.2",
|
||||
"zone.js": "^0.8.16"
|
||||
},
|
||||
|
|
|
@ -13,5 +13,8 @@
|
|||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
],
|
||||
"angularCompilerOptions": {
|
||||
"genDir": "compiled"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче