-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
45 lines (40 loc) · 1.24 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
{
"compilerOptions": {
/* Language and Environment */
"target": "es5",
"lib": ["dom", "ES5", "ES2015", "ES2017", "ES2018", "ESNext"],
"jsx": "react",
/* Modules */
"module": "commonjs",
"moduleResolution": "node",
"baseUrl": "./src",
"types": ["jest", "node", "testing-library__jest-dom"],
"resolveJsonModule": true,
/* JavaScript Support */
"allowJs": true,
"maxNodeModuleJsDepth": 1,
/* Emit */
"sourceMap": true,
"noEmit": true,
"preserveConstEnums": true,
/* Interop Constraints */
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
/* Type Checking */
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"skipLibCheck": true,
"paths": {
"@components": ["components"],
"@components/*": ["components/*"],
"@theme": ["theme"],
"@theme/*": ["theme/*"]
}
},
"include": ["src", "types"],
"exclude": ["node_modules", "build", "coverage"]
}