46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/** Transpiler */
|
|
"target": "esnext",
|
|
"lib": ["esnext"],
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
/** Project */
|
|
"rootDir": "src",
|
|
"outDir": "dist/esm",
|
|
"types": ["bun-types"],
|
|
"declaration": true,
|
|
"declarationDir": "dist/types",
|
|
|
|
/** Type Checking */
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"noImplicitThis": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"allowUnusedLabels": true,
|
|
"resolveJsonModule": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
|
|
/** Other */
|
|
// "noEmit": false,
|
|
// "allowJs": true,
|
|
// "jsx": "react-jsx",
|
|
"skipLibCheck": true
|
|
// "isolatedModules": true,
|
|
// "incremental": true
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["src/tests"]
|
|
}
|