-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (29 loc) · 1.09 KB
/
tsconfig.json
File metadata and controls
29 lines (29 loc) · 1.09 KB
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
{
"compilerOptions": {
"target": "ES2018", // Modern Node.js supports recent ECMAScript features
"module": "Node16", // Node.js uses CommonJS modules
"rootDir": "./src", // Source files location
"outDir": "./dist", // Output directory for compiled files
"strict": true, // Enable all strict type checking options
"esModuleInterop": true, // Enable CommonJS/AMD/UMD modules interop
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true, // Ensure consistent casing in imports
"resolveJsonModule": true, // Allow importing JSON files
"declaration": true, // Generate corresponding .d.ts files
"sourceMap": true, // Generate source maps for debugging
"removeComments": false, // Keep comments in output
"lib": [
"ES2022"
],
"types": [
"node"
]
},
"include": [
"src/**/*" // Include all files in src directory
],
"exclude": [
"node_modules",
"dist"
]
}