forked from EvefyouFE/react-evefyou-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
101 lines (99 loc) · 2.1 KB
/
tsconfig.json
File metadata and controls
101 lines (99 loc) · 2.1 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"compilerOptions": {
"target": "ES2021",
"useDefineForClassFields": true,
"lib": ["ES2021", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"types": [
"vite/client",
"node"
],
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"plugins": [
{
"name": "typescript-plugin-css-modules",
"options": {
"classnameTransform": "camelCase",
"rendererOptions": {
"less": {
"globalVars": {
"primary-color": "#1890ff",
"prefix-cls": "evefyou",
"namespace": "evefyou",
"layout-top-height": "3.5rem",
"text-color-help-dark": "#909399",
"text-color": "#c9d1d9",
"text-color-base": "#c9d1d9"
}
}
}
}
}
],
"baseUrl": ".",
"paths": {
"@/*": [
"src/*"
],
"@api/*": [
"src/api/*"
],
"@assets/*": [
"src/assets/*"
],
"@models/*": [
"src/models/*"
],
"@pages/*": [
"src/pages/*"
],
"@routes/*": [
"src/routes/*"
],
"@styles/*": [
"src/styles/*"
],
"@utils/*": [
"src/utils/*"
],
"@config/*": [
"src/config/*"
],
"@locales/*": [
"src/locales/*"
],
"@enums/*": [
"src/enums/*"
],
"@stores/*": [
"src/stores/*"
],
"@hooks/*": [
"src/hooks/*"
],
"@components/*": [
"src/components/*"
],
"@types/*": [
"src/types/*"
],
"@Containers/*": [
"src/components/Containers/*"
]
},
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}