40 lines
993 B
JSON
40 lines
993 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "${configDir}/dist",
|
|
"module": "node18",
|
|
"moduleDetection": "force",
|
|
"target": "esnext",
|
|
"lib": [
|
|
"DOM",
|
|
"DOM.Iterable",
|
|
"ES2022", // Node.js 18
|
|
],
|
|
"resolveJsonModule": false, // ESM doesn't yet support JSON modules.
|
|
"jsx": "react",
|
|
"declaration": true,
|
|
"newLine": "lf",
|
|
"stripInternal": true,
|
|
"strict": true,
|
|
"allowUnreachableCode": false,
|
|
"allowUnusedLabels": false,
|
|
"noImplicitReturns": true,
|
|
"noImplicitOverride": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"noEmitOnError": true,
|
|
"useDefineForClassFields": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
},
|
|
"include": [
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"src/**/*.test.ts",
|
|
]
|
|
}
|