-
Notifications
You must be signed in to change notification settings - Fork 48
/
tsconfig.json
59 lines (59 loc) · 1.75 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
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "esnext",
"module": "es2015",
"types": ["react-native", "jest"],
"lib": [
"es2019",
"es2020.bigint",
"es2020.date",
"es2020.number",
"es2020.promise",
"es2020.string",
"es2020.symbol.wellknown",
"es2021.promise",
"es2021.string",
"es2021.weakref",
"es2022.array",
"es2022.object",
"es2022.string"
],
"allowJs": true,
"declaration": false,
"jsx": "react-native",
"noEmit": true,
"isolatedModules": true,
"strict": true,
"moduleResolution": "bundler",
"customConditions": ["react-native"],
"allowImportingTsExtensions": false,
"allowArbitraryExtensions": true,
"resolveJsonModule": true,
"resolvePackageJsonImports": false,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"skipLibCheck": true,
// Causes issues with package.json "exports"
"forceConsistentCasingInFileNames": false,
"baseUrl": "src",
"paths": {
"@components/*": ["./components/*"],
"@components": ["./components"],
"@common/*": ["./common/*"],
"@common": ["./common"],
"@locale/*": ["./locale/*"],
"@locale": ["./locale"],
"@screens/*": ["./screens/*"],
"@screens": ["./screens"],
"@services/*": ["./services/*"],
"@services": ["./services"],
"@store/*": ["./store/*"],
"@store": ["./store"],
"@theme/*": ["./theme/*"],
"@theme": ["./theme"],
},
},
"include": ["src/**/*.ts", "src/**/*.tsx", "typings/**/*.d.ts"],
"exclude": [ "node_modules", "**/*.test.tsx", "**/*.test.ts", "**/*.stories.tsx","**/*.stories.ts", "**/*.spec.ts", "**/__mocks__/*.ts"],
}