-
Notifications
You must be signed in to change notification settings - Fork 43
/
tsconfig.json
44 lines (44 loc) · 1.11 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"compilerOptions": {
"baseUrl": ".",
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noUncheckedIndexedAccess": true,
"useUnknownInCatchVariables": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"verbatimModuleSyntax": true,
"strictNullChecks": true,
"noEmit": true,
"jsx": "react-jsx",
"types": [
"node",
"web",
"vite-plugin-svgr/client",
"@testing-library/jest-dom",
"vitest/globals"
],
"paths": {
// 顺序不能打乱,保证 website 复写 *
"@bangumi/*": ["packages/*/index.tsx", "packages/*/index.ts"],
"@bangumi/website/*": ["packages/website/src/*"]
}
},
"include": [
"./packages",
"./tests/",
".eslintrc.js",
"vitest.config.ts",
".github/scripts/*",
"./packages/design/.storybook/*"
]
}