45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
{
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
/* Basic Options */
|
|
{{#supportsES6}}
|
|
"target": "es6",
|
|
"esModuleInterop": true,
|
|
{{/supportsES6}}
|
|
{{^supportsES6}}
|
|
"target": "es5",
|
|
{{/supportsES6}}
|
|
"moduleResolution": "node",
|
|
"declaration": true,
|
|
|
|
/* Additional Checks */
|
|
"noUnusedLocals": false, /* Report errors on unused locals. */ // TODO: reenable (unused imports!)
|
|
"noUnusedParameters": false, /* Report errors on unused parameters. */ // TODO: set to true again
|
|
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
|
|
"removeComments": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"noLib": false,
|
|
{{#platforms}}
|
|
{{#node}}
|
|
"lib": [ "es2016" ],
|
|
{{/node}}
|
|
{{#browser}}
|
|
"lib": [ "es2016", "dom" ],
|
|
{{/browser}}
|
|
{{/platforms}}
|
|
{{#useInversify}}
|
|
"experimentalDecorators": true,
|
|
{{/useInversify}}
|
|
},
|
|
"exclude": [
|
|
"dist",
|
|
"node_modules"
|
|
],
|
|
"filesGlob": [
|
|
"./**/*.ts",
|
|
]
|
|
}
|