42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"types": ["node", "vitest/globals"],
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Path aliases */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@test-utils/*": ["./test-utils/*"],
|
|
},
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true
|
|
},
|
|
"include": ["src", "test-utils"],
|
|
"references": [
|
|
{ "path": "../admin-x-framework/tsconfig.declaration.json" },
|
|
{ "path": "../posts/tsconfig.declaration.json" },
|
|
{ "path": "../stats/tsconfig.declaration.json" },
|
|
{ "path": "../activitypub/tsconfig.declaration.json" }
|
|
]
|
|
}
|