mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Make aspnet-angular compatible with AoT compilation
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
/node_modules/
|
/node_modules/
|
||||||
**/*.js
|
**/*.js
|
||||||
**/*.d.ts
|
**/*.d.ts
|
||||||
|
**/*.metadata.json
|
||||||
|
/compiled
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
!/*.js
|
!/*.js
|
||||||
!/*.d.ts
|
!/*.d.ts
|
||||||
|
/compiled
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "aspnet-angular",
|
"name": "aspnet-angular",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "Helpers for using Angular in ASP.NET Core projects",
|
"description": "Helpers for using Angular in ASP.NET Core projects",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"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"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -18,11 +18,12 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/common": "^4.3.2",
|
"@angular/common": "^4.3.2",
|
||||||
|
"@angular/compiler": "^4.3.2",
|
||||||
|
"@angular/compiler-cli": "^4.3.2",
|
||||||
"@angular/core": "^4.3.2",
|
"@angular/core": "^4.3.2",
|
||||||
"@angular/http": "^4.3.2",
|
"@angular/http": "^4.3.2",
|
||||||
"@angular/platform-browser": "^4.3.2",
|
"@angular/platform-browser": "^4.3.2",
|
||||||
"rimraf": "^2.6.1",
|
"rimraf": "^2.6.1",
|
||||||
"typescript": "^2.4.2",
|
|
||||||
"rxjs": "^5.4.2",
|
"rxjs": "^5.4.2",
|
||||||
"zone.js": "^0.8.16"
|
"zone.js": "^0.8.16"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,5 +13,8 @@
|
|||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules"
|
"node_modules"
|
||||||
]
|
],
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"genDir": "compiled"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user