-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
46 lines (46 loc) · 1.8 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
{
"compilerOptions": {
"baseUrl": "./",
"outDir": "dist",
"module": "es2022",
// Note: No need in old browsers support as Babel will handle it
"target": "esnext",
"strict": true,
"noImplicitAny": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react-jsx",
"resolveJsonModule": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "nodenext",
"isolatedModules": true,
/**
* Note: do NOT emit (TS->JS) as Babel handles transpiling.
* "noEmitOnError" usage is redundant in that case as it is used to disable emit on type-checking fail.
*/
"noEmit": true,
"skipLibCheck": true,
"paths": {
"@config/*": ["./config/*"],
"@config": ["./config"],
"@sb-constants": ["./config/storybook/constants.js"],
"@client/*": ["./src/client/*"],
"@server/*": ["./src/server/*"],
"@common/*": ["./src/common/*"],
"@utils/*": ["./src/common/utils/*"],
"@utils": ["./src/common/utils"],
"@services/*": ["./src/common/services/*"],
"@services": ["./src/common/services"],
"@api/*": ["./src/client/api/*"],
"@api": ["./src/client/api"],
"@components/*": ["./src/client/components/*"],
"@pages/*": ["./src/client/components/pages/*"],
"@reusables/*": ["./src/client/reusables/*"],
"@slices/*": ["./src/client/store/slices/*"],
"@test-utils": ["./config/test/jest/test-utils"],
"@test-utils/*": ["./config/test/jest/test-utils/*"]
},
},
"include": ["src/**/*", "config/**/*/*"],
"exclude": ["node_modules", "dist/**/*"]
}