forked from realimposter/react-native-animated-glow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
37 lines (34 loc) · 856 Bytes
/
tsconfig.json
File metadata and controls
37 lines (34 loc) · 856 Bytes
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
{
"compilerOptions": {
/* Base Options */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "esnext",
"allowJs": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"isolatedModules": true,
"strict": true,
/* React Native & JSX Specific */
"module": "commonjs",
"lib": ["es6"],
"jsx": "react-native", // <-- THIS IS THE MOST CRITICAL FIX
/* Pathing */
"baseUrl": ".",
"paths": {
"*": ["src/*"]
},
/* Output */
"declaration": true, // Creates .d.ts files
"outDir": "lib" // Where to output the compiled JS files
},
"include": [
"src" // Only compile files in the src directory
],
"exclude": [
"node_modules",
"babel.config.js",
"metro.config.js",
"example" // Exclude the example project from the library build
]
}