mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-06 20:15:33 -05:00
60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"references": [
|
|
{ "path": "./packages/crdt" },
|
|
{ "path": "./packages/component-library" },
|
|
{ "path": "./packages/plugins-service" },
|
|
{ "path": "./packages/loot-core" },
|
|
{ "path": "./packages/api" },
|
|
{ "path": "./packages/desktop-client" },
|
|
{ "path": "./packages/sync-server" },
|
|
{ "path": "./packages/desktop-electron" },
|
|
{ "path": "./packages/cli" }
|
|
],
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"resolveJsonModule": true,
|
|
// TODO: enable once every file is ts
|
|
// "strict": true,
|
|
"strictFunctionTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "preserve",
|
|
"types": ["vite/client", "vitest/globals"],
|
|
// Check JS files too
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
// Used for temp builds
|
|
"outDir": "build",
|
|
"moduleResolution": "bundler",
|
|
"module": "es2022",
|
|
// Until/if we build using tsc
|
|
"noEmit": true
|
|
},
|
|
"include": ["bin/*.ts"],
|
|
"exclude": [
|
|
"**/.*/",
|
|
"node_modules",
|
|
"**/node_modules/*",
|
|
"**/build/*",
|
|
"**/build-electron/*",
|
|
"**/client-build/*",
|
|
"**/dist/*",
|
|
"**/lib-dist/*",
|
|
"packages/*/@types",
|
|
"**/test-results/*",
|
|
"**/playwright-report/*",
|
|
"**/service-worker/*",
|
|
"packages/docs/**/*"
|
|
],
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "CommonJS",
|
|
"types": ["node"]
|
|
}
|
|
}
|
|
}
|