UNPKG

2.34 kBJSONView Raw
1{
2 "compilerOptions": {
3 "baseUrl": ".",
4 "incremental": true,
5 "target": "es2017",
6 "outDir": "build/main",
7 "moduleResolution": "node",
8 "module": "commonjs",
9 "declaration": true,
10 "inlineSourceMap": true,
11 "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
12 "resolveJsonModule": true /* Include modules imported with .json extension. */,
13 "stripInternal": true,
14
15 "strict": true /* Enable all strict type-checking options. */,
16
17 /* Strict Type-Checking Options */
18 // "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
19 // "strictNullChecks": true /* Enable strict null checks. */,
20 // "strictFunctionTypes": true /* Enable strict checking of function types. */,
21 // "strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
22 // "noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
23 // "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
24
25 /* Additional Checks */
26 "noUnusedLocals": true /* Report errors on unused locals. */,
27 "noUnusedParameters": true /* Report errors on unused parameters. */,
28 "noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
29 "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
30
31 /* Debugging Options */
32 "traceResolution": false /* Report module resolution log messages. */,
33 "listEmittedFiles": false /* Print names of generated files part of the compilation. */,
34 "listFiles": false /* Print names of files part of the compilation. */,
35 "pretty": true /* Stylize errors and messages using color and context. */,
36
37 /* Experimental Options */
38 // "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */,
39 // "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,
40
41 "lib": ["es2017", "dom"],
42 "types": ["node"]
43 },
44 "include": ["src/**/*.ts", "**/*.spec.ts"],
45 "exclude": ["node_modules/**"],
46 "compileOnSave": false
47}