tsconfig.json
{
/* 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"
]
}