44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
"incremental": true,
|
|
"target": "ES2020",
|
|
"module": "NodeNext",
|
|
"outDir": "dist",
|
|
"declaration": true,
|
|
|
|
/* Strict Type-Checking Options */
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
|
|
/* Additional Checks */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "NodeNext",
|
|
"isolatedModules": true,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
|
|
/* Advanced Options */
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
// remove this when vite support "NodeNext" : https://github.com/vitejs/vite/issues/10481 or https://github.com/vitejs/vite/issues/8993
|
|
"skipLibCheck": true
|
|
},
|
|
"ts-node": {
|
|
"esm": true
|
|
},
|
|
"include": ["source"],
|
|
"exclude": ["**/dist", "vitest.config.ts"]
|
|
}
|