-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
21 lines (21 loc) · 1.07 KB
/
tsconfig.json
File metadata and controls
21 lines (21 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"compilerOptions": {
"target": "ES6", // Compile to ES6 JavaScript
"module": "commonjs", // CommonJS module system (ideal for Node.js)
"outDir": "./dist", // Output compiled JS files to the 'dist' folder
"rootDir": "./src", // Source files are in the 'src' folder
"strict": true, // Enable strict type-checking options
"esModuleInterop": true, // Enable interoperability between CommonJS and ES Modules
"skipLibCheck": true, // Skip type checking of declaration files (can improve performance)
"forceConsistentCasingInFileNames": true,
"declaration": true, // Generate type definition file (.d.ts)
},
"include": [
"src/**/*.ts" // Include all TypeScript files inside 'src'
],
"exclude": [
"src/**/*.test.ts",
"src/dev.ts",
"node_modules", // Exclude the 'node_modules' folder
],
}