-
Notifications
You must be signed in to change notification settings - Fork 326
/
tsconfig.json
37 lines (37 loc) · 1014 Bytes
/
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
{
"compilerOptions": {
"jsx": "react",
"experimentalDecorators": true,
"moduleResolution": "node",
"module": "esnext",
"target": "esnext",
"outDir": "lib",
"declaration": true,
"sourceMap": true,
"lib": ["esnext", "dom"],
"importHelpers": true,
"allowSyntheticDefaultImports": 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
}