-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.node.json
41 lines (41 loc) · 1.19 KB
/
tsconfig.node.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
{
// This is an alias to @tsconfig/node16: https://github.com/tsconfig/bases
"extends": "@tsconfig/node20/tsconfig.json",
// Most ts-node options can be specified here using their programmatic names.
"ts-node": {
"files": true,
"esm": 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.
}
},
"compilerOptions": {
// typescript options here
"experimentalDecorators": true,
"useDefineForClassFields": false,
"verbatimModuleSyntax": true,
"isolatedModules": false,
"esModuleInterop": true,
"resolveJsonModule": true,
"module": "ESNext",
"moduleResolution": "node",
"target": "ES2020",
"lib": ["es2020", "DOM"],
"baseUrl": ".",
"paths": {
"@components/*": ["src/components/*"],
"@layouts/*": ["src/layouts/*"],
"@lib/*": ["src/lib/*"],
"@schemas/*": ["src/schemas/*"],
"@styles/*": ["src/styles/*"],
"@public/*": ["public/*"],
}
},
"include": [
"./src/bin/**/*",
"./src/lib/**/*",
"./src/schemas/**/*",
]
}