-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
71 lines (69 loc) · 2.06 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
{
"compilerOptions": {
"module": "es2015",
"moduleResolution": "node",
"allowJs": false,
"sourceMap": true,
"removeComments": true,
"strict": true,
"noImplicitAny": false,
"strictFunctionTypes": false, // https://github.com/reactjs/redux/issues/2709
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"allowSyntheticDefaultImports": true,
"preserveConstEnums": true,
"experimentalDecorators": false,
"resolveJsonModule": true,
"skipLibCheck": true, // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24573
"inlineSources": true, // https://docs.sentry.io/platforms/javascript/#typescript
// "paths": {
// "appstate/*": ["./appstate/*"],
// "services/*": ["./services/*"],
// "components/*": ["./components/*"],
// "screens/*": ["./screens/*"],
// "styles/*": ["./styles/*"],
// },
// See https://facebook.github.io/react-native/docs/typescript
"target": "esnext",
"baseUrl": ".",
"jsx": "react",
"esModuleInterop": true,
"isolatedModules": true,
"lib": ["es6"],
"paths": {
"*": ["src/*"],
// "appstate/*": ["./appstate/*"],
// "services/*": ["./services/*"],
// "components/*": ["./components/*"],
// "screens/*": ["./screens/*"],
// "styles/*": ["./styles/*"],
},
"noEmit": true,
// these if changing noEmit to false, to get compiled source to build folder:
// "noEmit": false,
// "sourceRoot": "/",
// "outDir": "./build",
// "rootDir": "./src",
},
"include": [
"typings/index.d.ts",
"src/**/*.ts",
"src/**/*.tsx"
],
"types": [
"react",
"react-native",
"jest"
],
"exclude": [
"android",
"ios",
"build",
"node_modules",
"babel.config.js",
"metro.config.js",
"jest.config.js"
],
"compileOnSave": false
}