-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
61 lines (53 loc) · 1.63 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// This file supports comments.
// Documentation: https://www.typescriptlang.org/tsconfig
{
"compilerOptions": {
// Library versions
"moduleResolution": "Node",
"module": "ESNext",
"target": "ES6",
"lib": [
"ESNext",
"DOM",
],
// Linter rules (enable anything that causes a compilation/typing error; leave everything else to a proper linting tool.)
"allowJs": true,
"allowUnreachableCode": true, // Isn't a compilation error; should be handled by a dedicated linter.
"checkJs": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
// "noImplicitReturns": true, // Is technically a typing error, so should be handled by TypeScript.
"resolveJsonModule": true,
// "strict": true,
// Maps
"sourceMap": true,
"sourceRoot": "src/code",
// Misc
"preserveSymlinks": true,
"downlevelIteration": true,
"importHelpers": true,
"importsNotUsedAsValues": "preserve",
"removeComments": true,
// Workarounds for bundler
"composite": false,
"declaration": false,
"declarationMap": false,
"emitDecoratorMetadata": false,
"esModuleInterop": true,
"isolatedModules": true,
"baseUrl": "./src/code",
"rootDir": "./src/code",
"outDir": "./dist/incl",
},
"files": [
"./src/code/main.ts",
],
"include": [
"./**/*.ts",
"./**/*.js",
],
"exclude": [
"node_modules/**",
"dist/incl/**"
],
}