2023-05-21 15:34:04 +08:00
|
|
|
{
|
2023-07-15 18:22:47 +08:00
|
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
2023-05-21 15:34:04 +08:00
|
|
|
"compilerOptions": {
|
|
|
|
|
"target": "ESNext",
|
2024-09-25 22:00:28 +08:00
|
|
|
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
|
2023-05-21 15:34:04 +08:00
|
|
|
"allowJs": true,
|
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
"strict": true,
|
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
|
"noEmit": true,
|
|
|
|
|
"esModuleInterop": true,
|
|
|
|
|
"module": "esnext",
|
2024-03-15 22:47:21 +08:00
|
|
|
"moduleResolution": "bundler",
|
2023-05-21 15:34:04 +08:00
|
|
|
"resolveJsonModule": true,
|
|
|
|
|
"isolatedModules": true,
|
|
|
|
|
"jsx": "preserve",
|
|
|
|
|
"incremental": true,
|
|
|
|
|
"baseUrl": ".",
|
2024-09-25 22:00:28 +08:00
|
|
|
"types": ["vitest/globals", "@serwist/next/typings"],
|
2023-05-21 15:34:04 +08:00
|
|
|
"paths": {
|
2025-08-22 11:09:03 +08:00
|
|
|
"@/database/*": ["./packages/database/src/*", "./src/database/*"],
|
2025-08-28 20:44:28 +08:00
|
|
|
"@/const/*": ["./packages/const/src/*", "./src/const/*"],
|
2025-08-22 14:05:01 +08:00
|
|
|
"@/utils/*": ["./packages/utils/src/*", "./src/utils/*"],
|
2025-08-06 16:52:21 +08:00
|
|
|
"@/types/*": ["./packages/types/src/*", "./src/types/*"],
|
2024-01-30 22:38:25 +08:00
|
|
|
"@/*": ["./src/*"],
|
2024-02-08 08:04:10 +00:00
|
|
|
"~test-utils": ["./tests/utils.tsx"]
|
2023-09-25 14:33:53 +08:00
|
|
|
},
|
|
|
|
|
"plugins": [
|
|
|
|
|
{
|
2024-02-08 08:04:10 +00:00
|
|
|
"name": "next"
|
|
|
|
|
}
|
|
|
|
|
]
|
2023-05-21 15:34:04 +08:00
|
|
|
},
|
2025-10-16 11:32:58 +07:00
|
|
|
"exclude": [
|
|
|
|
|
"node_modules",
|
|
|
|
|
"public/sw.js",
|
|
|
|
|
"apps/desktop",
|
|
|
|
|
"apps/mobile",
|
|
|
|
|
"tmp",
|
|
|
|
|
"temp",
|
|
|
|
|
".temp",
|
|
|
|
|
"e2e"
|
|
|
|
|
],
|
2025-08-25 22:38:41 +08:00
|
|
|
"include": ["**/*.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next-env.d.ts"]
|
2023-05-21 15:34:04 +08:00
|
|
|
}
|