-
Notifications
You must be signed in to change notification settings - Fork 14
/
tsconfig.json
27 lines (27 loc) · 1.01 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
{
"compilerOptions": {
"lib": [
"es2020",
"esnext"
],
"module": "commonjs",
"target": "esnext",
"strict": true, // Enable strict type-checking
"esModuleInterop": true, // Ensure compatibility between CommonJS and ESModules
"skipLibCheck": true, // Speed up compilation by skipping type checking in .d.ts files
"forceConsistentCasingInFileNames": true, // Enforce consistent casing for imports
"outDir": "./dist", // Specify the output directory for compiled files
"baseUrl": "./", // Base directory to resolve non-relative module names
"paths": { // Path mapping for module resolution
"*": ["node_modules/*"]
}
},
"files": [
"index.ts",
"index.spec.ts"
],
"exclude": [
"node_modules", // Ensure node_modules is excluded
"dist" // Exclude compiled files directory
]
}