forked from Tencent/tdesign-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
38 lines (38 loc) · 1.03 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
{
"compilerOptions": {
"jsx": "react",
"experimentalDecorators": true,
"moduleResolution": "node",
"module": "esnext",
"target": "esnext",
"outDir": "lib",
"declaration": true,
"sourceMap": true,
"lib": ["esnext", "dom"],
"importHelpers": true,
"allowSyntheticDefaultImports": true,
"suppressImplicitAnyIndexErrors": true,
"baseUrl": "./",
"paths": {
"tdesign-react": ["src"],
"tdesign-react/*": ["src/*"],
"@test/utils": ["test/utils"],
"@common/*": ["src/_common/*"]
},
"allowJs": true,
"checkJs": true,
"downlevelIteration": true,
"esModuleInterop": true
},
"include": ["./src", "./globals.d.ts","./test/config/index.d.ts"],
"exclude": ["**/*.jsx", "**/**/_usage/*", "**/**/__tests__/*", "node_modules", "src/_common", "dist", "lib", "esm", "cjs", "es"],
"types": [
"node",
"jest",
"vitest/globals",
"@testing-library/jest-dom",
"@testing-library/react-hooks",
"@testing-library/react"
],
"compileOnSave": false
}