-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
61 lines (61 loc) · 1.5 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"compilerOptions": {
"baseUrl": "./src",
"target": "es2020",
"lib": ["dom", "dom.iterable", "esnext", "es2020"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"sourceMap": true,
"noImplicitAny": false,
"strictPropertyInitialization": false,
"jsx": "react-jsx",
"types": [
"vite/client",
],
"paths": {
"@components/*": ["components/*"],
"@contexts/*": ["contexts/*"],
"@providers/*": ["providers/*"],
"@pages/*": ["pages/*"],
"@hooks/*": ["hooks/*"],
"@protos/*": ["protos/*"],
"@types/*": ["types/*"],
"@locales/*": ["locales/*"],
}
},
"include": ["src"],
"exclude": ["node_modules"],
"tasks": [
{
"label": "tsc watch",
"type": "shell",
"command": "./node_modules/.bin/tsc",
"isBackground": true,
"args": ["--watch", "--noEmit", "--project", "."],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "never",
"echo": false,
"focus": false,
"panel": "dedicated"
},
"problemMatcher": "$tsc-watch",
"runOptions": {
"runOn": "folderOpen"
}
}
]
}