-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
26 lines (26 loc) · 949 Bytes
/
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
{
"compilerOptions": {
"target": "ES2022", // Output ES6 JavaScript (you can change this if you need ES5)
"module": "ES2022",
"moduleResolution": "node", // Use Node.js style module resolution
"rootDir": "./", // The root directory of your TypeScript files
"outDir": "./dist", // Output directory for the compiled JavaScript files
"strict": true, // Enable strict type-checking options
"esModuleInterop": true, // Interop with CommonJS modules for compatibility
"skipLibCheck": true, // Skip checking type definitions in libraries
"forceConsistentCasingInFileNames": true, // Ensure file names are treated as case-sensitive
"allowSyntheticDefaultImports": true,
},
"include": [
"src/**/*.ts",
"config/**/*.ts"
],
"exclude": [
"node_modules", // Exclude node_modules folder
"dist"
],
"ts-node": {
// Tell ts-node CLI to install the --loader automatically
"esm": true
}
}