-
-
Notifications
You must be signed in to change notification settings - Fork 276
/
tsconfig.json
53 lines (47 loc) · 1.68 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
{
"compilerOptions": {
"rootDir": ".",
"outDir": "build",
// es2018: async iterators, rest/spread for objects, RegExp named capture groups, RegExp Unicode property escapes, Promise.prototype.finally
// es2020: nullish coalescing, optional chaining, BigInt, dynamic import, import.meta
// es2022: private fields, top-level await
// esnext: all the above + decorators, class fields, export * as ns, export * from, numeric separators, throw expressions
"target": "es2020",
"module": "esnext",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"strictNullChecks": true,
"strictBindCallApply": true,
"noImplicitAny": false,
"noLib": false,
"lib": ["es2020", "dom", "dom.iterable", "scripthost"],
// Do not include all the type definitions in `node_modules/@types`,
// which include NodeJS definitions that are not applicable to a web app
// but only those type definitions that are required
"typeRoots": ["./src/public", "./src/ui/types"],
// "types": ["@cortex-js/compute-engine"],
"emitDecoratorMetadata": false,
// We'll strip the comments with esbuild but we need them for the declaration files
"removeComments": false,
"baseUrl": "./src/",
"sourceMap": true,
"incremental": true,
"tsBuildInfoFile": "./build/ts-cache.tsbuildinfo"
},
// "include": []
// "files: [] // If you want to include only specific files (paths relative to the tsconfig.json file)
"exclude": [
"coverage",
"test",
"node_modules",
"**/*.spec.ts",
"dist",
"build",
"examples",
"docs",
"tutorials",
"**/*.config.js",
"playwright.config.ts"
]
}