-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtsconfig.json
executable file
·43 lines (43 loc) · 1.35 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
/* the configuration of the typescript compiler. See docs https://github.com/Microsoft/TypeScript/wiki/Compiler-Options
The settings outDir and rootDir are managed by sbt-typescript.
*/
"compilerOptions": {
"target": "es5",
"module": "system",
"moduleResolution": "node",
/* the following two settings are required for angular2 annotations to work*/
"emitDecoratorMetadata": true,
"experimentalDecorators":true,
/* for reading your ts source while debugging from a browser */
"sourceMap": true,
"mapRoot": "/assets",
"sourceRoot": "/assets",
"rootDirs": ["app/assets","test/assets"],
"baseUrl": ".",
"allowSyntheticDefaultImports": true,
"paths": {
"*": [
"*",
"target/web/node-modules/main/webjars/*"
]
},
/* noImplicitAny when you want your typescript to be fully typed */
"noImplicitAny":true,
"noFallthroughCasesInSwitch":true,
"noImplicitReturns":true,
"noImplicitThis":true,
// "strictNullChecks":true, doesn't work yet with @angular RC4
"outDir": "./target/ts",
"lib": ["es6", "dom"]
},
/* the information below is not used by sbt-typescript. but you can use it if you want to run tsc -p .*/
"exclude": [
"node_modules",
"project/target",
"typings/main",
"typings/main.d.ts",
"typings/browser",
"target/web"
]
}