-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
114 lines (114 loc) · 2.54 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
// Target latest version of ECMAScript.
"target": "esnext",
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Process & infer types from .js files.
"allowJs": true,
// Don't emit; allow Babel to transform files.
"noEmit": true,
// We can start without strict mode (or only with strictNullChecks) to
// reduce the initial friction.
// Ideally we should be able to adopt full strict mode.
// "strict": true,
"strictNullChecks": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
"skipLibCheck": true,
"jsx": "react-jsx",
// Allow importing JSON files
"resolveJsonModule": true,
// Allow dynamic importing
"module": "esnext",
// If "extends" would work, we could have remove these duplications
// but it seems it doesn't work
"baseUrl": ".",
"paths": {
"config": [
"config/public/index.js"
],
"@app/*": [
"app/*"
],
"store": [
"app/stores"
],
"actions/*": [
"app/store_actions/*"
],
"assets/*": [
"app/static/*"
],
"animations/*": [
"app/animations/*"
],
"components/*": [
"app/views/components/*"
],
"constants/*": [
"app/constants/*"
],
"dashboard/*": [
"app/components/Dashboard/*"
],
"hooks/*": [
"app/hooks/*"
],
"models/*": [
"app/models/*"
],
"reducers": [
"app/reducers"
],
"reducers/*": [
"app/reducers/*"
],
"routes/*": [
"app/routes/*"
],
"partials/*": [
"app/components/Partials/*"
],
"services/*": [
"app/services/*"
],
"utils/*": [
"app/utils/*"
],
"views/*": [
"app/views/*"
],
"selectors/*": [
"app/selectors/*"
],
"deals/*": [
"app/components/Pages/Dashboard/Deals/*"
],
"crm/*": [
"app/components/Pages/Dashboard/Contacts/*"
],
"fixtures/*": [
"tests/unit/fixtures/*"
],
"tests/*": [
"tests/*"
],
"types/*": [
"types/*"
]
}
},
"include": [
"app/**/*.ts",
"app/**/*.tsx",
"types/**/*.ts"
],
"exclude": [
"builds/**/*",
"node_modules"
]
}