-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
43 lines (43 loc) · 1.39 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
{
"compilerOptions": {
"baseUrl": "./", // enables absolute path imports
"paths": {
"components/*": ["./src/components/*"],
"utils/*": ["./src/utils/*"],
"reducers/*": ["./src/reducers/*"],
"src/*": ["./src/*"],
"types/*": ["./src/types/*"],
"modules/*": ["./src/modules/*"],
"assets/*": ["./assets/*"],
"*": ["./src/modules/*"],
},
"outDir": "dist/", // target for compiled files
"allowSyntheticDefaultImports": true, // no errors with commonjs modules interop
"esModuleInterop": true,
"allowJs": true, // include js files
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true, // importing helper functions from tslib
"noEmitHelpers": true, // disable emitting inline helper functions
"jsx": "react-native",
"lib": ["es2017"],
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"noEmitOnError": false,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"strict": true,
"strictFunctionTypes": false,
"pretty": true,
"removeComments": true,
"sourceMap": true
},
"include": ["src/**/*", "typings/*", "App.tsx"],
"exclude": ["node_modules", "src/**/*.spec.*"]
}