30 lines
814 B
JSON
30 lines
814 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"allowJs": true,
|
|
// Bundler mode
|
|
"moduleResolution": "node",
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"strictPropertyInitialization": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
// Some stricter flags
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
// Additional improvements
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"useDefineForClassFields": true,
|
|
"rootDir": "./src",
|
|
"outDir": "./dist"
|
|
}
|
|
}
|