34 lines
829 B
JSON
34 lines
829 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext", "DOM"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": false,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": false,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"outDir": "./dist",
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
},
|
|
"include": ["./*"],
|
|
"exclude": ["node_modules", "dist", "./*.test.ts", "./*.spec.ts"]
|
|
}
|