-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.base.json
49 lines (46 loc) · 1.66 KB
/
tsconfig.base.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
// {
// "$schema": "https://json.schemastore.org/tsconfig",
// "display": "Corbado NodeJS",
// "compilerOptions": {
// "lib": ["DOM", "ES2020"],
// "module": "esnext",
// "target": "es2020",
// "strict": true,
// "noFallthroughCasesInSwitch": true,
// "experimentalDecorators": true,
// "moduleResolution": "node",
// "sourceMap": true,
// "outDir": "esm",
// "baseUrl": ".",
// "paths": {
// "src/*": ["src/*"]
// },
// "declaration": true
// },
// "include": ["src/**/*"]
// }
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Corbado NodeJS - Base",
"compilerOptions": {
"lib": ["DOM", "ES2020"], // Standard library files to be included in the compilation.
"target": "es2020", // Specify ECMAScript target version
"strict": true, // Enable all strict type-checking options
"noFallthroughCasesInSwitch": true, // Prevent fall-through case in switch statements
"experimentalDecorators": true, // Enable experimental support for decorators
"moduleResolution": "node", // Resolve modules using Node.js style
"sourceMap": true, // Generates source map files for debugging
"baseUrl": ".", // Base directory to resolve non-relative module names
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
"paths": {
"src/*": ["src/*"] // Specify paths for modules
},
"declaration": true // Generates corresponding '.d.ts' file for each output '.js' file
},
"ts-node": {
"moduleTypes": {
"jest.config.ts": "cjs"
}
},
"include": ["src/**/*"] // Specify files to be included in the compilation
}