-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
44 lines (44 loc) · 1.29 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
{
"extends": "@tsconfig/node16/tsconfig.json",
"ts-node": {
"transpileOnly": true,
"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": "es2022",
"module": "Node16",
"declaration": true,
"declarationMap": true,
"allowJs": false
}
},
"module": "node",
"compilerOptions": {
"target": "es6",
"strict": true,
"outDir": "dist",
"rootDir": ".",
"noImplicitAny": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"sourceMap": true,
"inlineSourceMap": false,
"noEmitOnError": true,
"lib": ["esnext", "dom", "dom.iterable"],
"strictNullChecks": false,
"typeRoots": ["./node_modules/@types", "./src/types"]
},
"include": ["**/*.ts"],
"exclude": ["**/node_modules", "**/(__tests__|__mocks__)/**/*"],
"watchOptions": {
"watchFile": "useFsEvents",
"watchDirectory": "useFsEvents",
"fallbackPolling": "dynamicPriority",
"synchronousWatchDirectory": true,
"excludeDirectories": ["**/node_modules", "dist/**"],
"excludeFiles": ["**/*.js"]
}
}