|
1 | 1 | {
|
2 | 2 | "compilerOptions": {
|
3 | 3 | "target": "esnext",
|
4 |
| - "module": "esnext", |
5 |
| - "lib": ["esnext"], |
| 4 | + "module": "commonjs", |
| 5 | + "lib": ["es6"], |
6 | 6 | "allowJs": true,
|
7 | 7 | "jsx": "react-native",
|
8 |
| - "noEmit": true, |
9 |
| - "isolatedModules": false, |
| 8 | + "noImplicitAny": false, |
| 9 | + "incremental": true /* Enable incremental compilation */, |
| 10 | + "isolatedModules": true, |
10 | 11 | "strict": true,
|
11 | 12 | "moduleResolution": "node",
|
| 13 | + "skipLibCheck": true, |
| 14 | + "baseUrl": "./", |
| 15 | + "outDir": "build/dist", |
| 16 | + "noEmitHelpers": true, |
| 17 | + "importHelpers": true, |
| 18 | + "experimentalDecorators": true, |
12 | 19 | "allowSyntheticDefaultImports": true,
|
13 | 20 | "esModuleInterop": true,
|
14 |
| - // ? Custom ones |
15 |
| - "skipLibCheck": true, |
16 |
| - "resolveJsonModule": true, |
17 |
| - "noImplicitAny": true, |
18 |
| - "strictNullChecks": true, |
19 |
| - "strictFunctionTypes": true, |
20 |
| - "strictPropertyInitialization": true, |
21 |
| - "noImplicitThis": true, |
22 |
| - "alwaysStrict": true, |
23 |
| - "noUnusedLocals": true, |
24 |
| - "noUnusedParameters": true, |
25 |
| - "noImplicitReturns": true, |
26 |
| - "noFallthroughCasesInSwitch": true, |
27 |
| - "forceConsistentCasingInFileNames": true, |
28 |
| - // ? Babel Plugin Module Resolver |
29 |
| - "baseUrl": "./src", |
30 |
| - "paths": { |
31 |
| - "@shared-components/*": ["./shared/components/*"], |
32 |
| - "@shared-constants": ["./shared/constants"], |
33 |
| - "@font-size": ["./shared/theme/font-size"], |
34 |
| - "@api": ["./services/api/index"], |
35 |
| - "@fonts": ["./shared/theme/fonts/index"], |
36 |
| - "@colors": ["./shared/theme/colors"], |
37 |
| - "@theme": ["./shared/theme/*"], |
38 |
| - "@services/*": ["./services/*"], |
39 |
| - "@screens/*": ["./screens/*"], |
40 |
| - "@utils": ["./utils/"], |
41 |
| - "@assets": ["./assets/"] |
42 |
| - } |
| 21 | + "declaration": true /* Generates corresponding '.d.ts' file. */, |
| 22 | + "sourceMap": true /* Generates corresponding '.map' file. */ |
43 | 23 | },
|
44 | 24 | "exclude": [
|
| 25 | + "example", |
45 | 26 | "node_modules",
|
46 | 27 | "babel.config.js",
|
47 | 28 | "metro.config.js",
|
|
0 commit comments