tsconfig.json•948 B
{
"compilerOptions": {
"target": "ES2020", // Target modern Node.js versions
"module": "CommonJS", // Use CommonJS modules
"outDir": "./dist", // Output directory for compiled JavaScript
"rootDir": "./src", // Source directory for TypeScript files
"strict": true, // Enable strict type checking
"esModuleInterop": true, // Allows default imports from CommonJS modules
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true, // Ensure consistent file casing
"moduleResolution": "node", // Use Node.js module resolution
"resolveJsonModule": true, // Allow importing JSON files
"sourceMap": true, // Generate source maps for debugging
"incremental": true // Enable incremental compilation
},
"include": ["src/**/*"], // Include all files in the src directory
"exclude": ["node_modules", "**/*.spec.ts"] // Exclude node_modules and test files
}