{ "compilerOptions": { "target": "ES2016", // Or a newer target like ES2020 "module": "NodeNext", // Use NodeNext module system "moduleResolution": "NodeNext", // Use NodeNext resolution strategy "outDir": "./dist", // Output directory for compiled JS "rootDir": "./src", // Root directory of source files "esModuleInterop": true, // Enables compatibility with CommonJS modules "forceConsistentCasingInFileNames": true, // Enforce consistent file casing "strict": true, // Enable all strict type-checking options "skipLibCheck": true, // Skip type checking of declaration files "resolveJsonModule": true // Allow importing JSON files }, "include": ["src/**/*"], // Include all files in the src directory "exclude": ["node_modules", "dist"] // Exclude node_modules and dist }