-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.json
14 lines (14 loc) · 969 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"compilerOptions": {
"target": "es6", // Compile to ES6 compatible JavaScript
"module": "commonjs", // Use CommonJS module system (required for Node.js)
"outDir": "./dist", // Output directory for compiled JavaScript
"rootDir": "./src", // Root directory of TypeScript source files
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enables interoperability between CommonJS and ES Modules
"skipLibCheck": true, // Skip type checking of declaration files (speeds up the compilation)
"forceConsistentCasingInFileNames": true // Ensure consistent casing in file names
},
"include": ["src/**/*.ts"], // Include all TypeScript files in the 'src' directory
"exclude": ["node_modules", "**/*.test.ts"] // Exclude node_modules and test files from compilation
}