diff --git a/package.json b/package.json index f6669d480..266720e18 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,9 @@ "devDependencies": { "@angular/common": "~2.1.0", "@angular/compiler": "~2.1.0", + "@angular/compiler-cli": "^2.1.0", "@angular/core": "~2.1.0", + "@angular/platform-server": "^2.1.0", "@angular/platform-browser": "~2.1.0", "@angular/platform-browser-dynamic": "~2.1.0", "@angularclass/hmr": "^1.2.1", @@ -76,7 +78,7 @@ "css-loader": "^0.24.0", "extract-text-webpack-plugin": "^2.0.0-beta.4", "html-webpack-plugin": "^2.22.0", - "node-sass": "^3.7.0", + "node-sass": "^3.10.1", "npm-run-all": "^3.1.0", "postcss": "^5.1.1", "postcss-loader": "^0.9.1", diff --git a/tsconfig-aot.json b/tsconfig-aot.json new file mode 100644 index 000000000..277ed7d02 --- /dev/null +++ b/tsconfig-aot.json @@ -0,0 +1,42 @@ +{ + "compilerOptions": { + "target": "es5", + "module": "es2015", + "moduleResolution": "node", + "declaration": true, + "noEmitHelpers": false, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "removeComments": false, + "noImplicitAny": true, + "sourceMap": true, + "pretty": true, + "allowUnreachableCode": true, + "allowUnusedLabels": true, + "noImplicitAny": false, + "noImplicitReturns": false, + "noImplicitUseStrict": false, + "noFallthroughCasesInSwitch": false, + "allowSyntheticDefaultImports": true, + "suppressExcessPropertyErrors": true, + "suppressImplicitAnyIndexErrors": true, + "outDir": "dist", + "types": [] + }, + "files": [ + "src/custom-types.d.ts", + "src/index.ts" + ], + "exclude": [ + "node_modules" + ], + "compileOnSave": false, + "buildOnSave": false, + "angularCompilerOptions": { + "genDir": "aot", + "skipMetadataEmit" : true + }, + "awesomeTypescriptLoaderOptions": { + "forkChecker": false + } +}