Skip to content

Commit

Permalink
updated project compile files
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjlockwood committed Mar 6, 2017
1 parent 680481d commit 71005de
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 30 deletions.
12 changes: 7 additions & 5 deletions .angular-cli.json
Expand Up @@ -15,7 +15,8 @@
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.json",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.scss"
Expand All @@ -34,12 +35,13 @@
}
},
"lint": [{
"files": "src/**/*.ts",
"project": "src/tsconfig.json"
"project": "src/tsconfig.app.json"
},
{
"files": "e2e/**/*.ts",
"project": "e2e/tsconfig.json"
"project": "src/tsconfig.spec.json"
},
{
"project": "e2e/tsconfig.e2e.json"
}
],
"test": {
Expand Down
22 changes: 22 additions & 0 deletions src/tsconfig.app.json
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016",
"dom"
],
"outDir": "../out-tsc/app",
"target": "es5",
"module": "es2015",
"baseUrl": "",
"types": []
},
"exclude": [
"test.ts",
"**/*.spec.ts"
]
}
25 changes: 0 additions & 25 deletions src/tsconfig.json

This file was deleted.

26 changes: 26 additions & 0 deletions src/tsconfig.spec.json
@@ -0,0 +1,26 @@
{
"compilerOptions": {
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016"
],
"outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es6",
"baseUrl": "",
"types": [
"jasmine",
"node"
]
},
"files": [
"test.ts"
],
"include": [
"**/*.spec.ts"
]
}

0 comments on commit 71005de

Please sign in to comment.