-
Notifications
You must be signed in to change notification settings - Fork 30
/
tsconfig.json
44 lines (44 loc) · 1.31 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
{
// This is an alias to @tsconfig/node12: https://github.com/tsconfig/bases
// Most ts-node options can be specified here using their programmatic names.
"ts-node": {
// It is faster to skip typechecking.
// Remove if you want ts-node to do typechecking.
"files": true,
"compilerOptions": {
// compilerOptions specified here will override those declared below,
// but *only* in ts-node. Useful if you want ts-node and tsc to use
// different options with a single tsconfig.json.
"target": "esnext",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
}
},
"compilerOptions": {
"target": "es2020",
"lib": [
"dom",
"dom.iterable",
"esnext",
"ES2020.BigInt"
],
"module": "commonjs",
"outDir": "./dist",
"alwaysStrict": true,
"strict": false,
"strictPropertyInitialization": false,
"sourceMap": true,
"resolveJsonModule": true,
"downlevelIteration": true,
"moduleResolution": "node",
"declaration": true,
"declarationDir": "./dist"
},
"include": [
"src/**/*.ts",
"src/**/*.js",
]
}