Skip to content

Commit

Permalink
Configured to generate metadata, so AoT can run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigous committed Sep 29, 2016
1 parent 52c4fc6 commit ca85d35
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ Desktop.ini
# Mac
.DS_Store
**/.DS_Store

# AoT
aot
*.metadata.json
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.4.1",
"scripts": {
"test": "typings install && echo No tests available yet...",
"prepublish": "typings install && tsc --outDir .",
"tsc": "typings install && tsc --outDir ."
"prepublish": "typings install && ngc --outDir .",
"tsc": "ngc --outDir ."
},
"repository": {
"type": "git",
Expand All @@ -28,7 +28,12 @@
"highcharts": "^4.2.1"
},
"devDependencies": {
"@angular/core": "2.0.0",
"@angular/common": "^2.0.1",
"@angular/compiler": "^2.0.1",
"@angular/compiler-cli": "^0.6.3",
"@angular/core": "^2.0.1",
"@angular/platform-browser": "^2.0.1",
"@angular/platform-server": "^2.0.1",
"es6-shim": "^0.35.0",
"highcharts": "^4.2.1",
"reflect-metadata": "^0.1.3",
Expand Down
13 changes: 9 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@
"module": "commonjs",
"target": "es5",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"experimentalDecorators": true,
"sourceMap": true,
"declaration": true
"declaration": true,
"outDir": "."
},
"files": [
"src/index.ts",
"typings/index.d.ts"
],
"exclude": [
"node_modules"
]
}
],
"angularCompilerOptions": {
"genDir": "aot",
"skipMetadataEmit": false
}
}

0 comments on commit ca85d35

Please sign in to comment.