c9eb42ff4d
This is a manual cherry-pick from @CD-Z’s PR that updates React Native to 0.81. Thanks for originally working on it
37 lines
1003 B
JSON
37 lines
1003 B
JSON
{
|
|
"extends": "@react-native/typescript-config",
|
|
"include": ["**/*.ts", "**/*.tsx"],
|
|
"exclude": [
|
|
"**/node_modules",
|
|
"**/Pods",
|
|
"babel.config.js",
|
|
"metro.config.js"
|
|
],
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"noUnusedLocals": true,
|
|
"module": "ES2022",
|
|
"lib": ["ES2022", "DOM"],
|
|
"target": "ES2022",
|
|
"paths": {
|
|
"@components": ["src/components/index"],
|
|
"@components/*": ["src/components/*"],
|
|
"@database/*": ["src/database/*"],
|
|
"@hooks/*": ["src/hooks/*"],
|
|
"@hooks": ["src/hooks/index"],
|
|
"@screens/*": ["src/screens/*"],
|
|
"@strings/*": ["strings/*"],
|
|
"@theme/*": ["src/theme/*"],
|
|
"@utils/*": ["src/utils/*"],
|
|
"@plugins/*": ["src/plugins/*"],
|
|
"@services/*": ["src/services/*"],
|
|
"@navigators/*": ["src/navigators/*"],
|
|
"@native/*": ["src/native/*"],
|
|
"@api/*": ["src/api/*"],
|
|
"@type/*": ["src/type/*"],
|
|
"@specs/*": ["specs/*"]
|
|
},
|
|
"types": ["react-native"]
|
|
}
|
|
}
|