43 lines
845 B
JSON
43 lines
845 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"allowJs": true,
|
|
|
|
"types": ["vitest/globals"],
|
|
// JSX
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "@lib/jsx",
|
|
|
|
// Build
|
|
"outDir": "dist",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
|
|
// Aliases
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@lib/*": ["./lib/*"]
|
|
},
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false
|
|
},
|
|
"include": ["lib"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|