🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@tsconfig/react-native

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsconfig/react-native - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+1
-1
package.json

@@ -1,1 +0,1 @@

{"name":"@tsconfig/react-native","license":"MIT","description":"A base TSConfig for working with React Native.","version":"1.0.2"}
{"name":"@tsconfig/react-native","repository":{"type":"git","url":"https://github.com/tsconfig/bases.git","directory":"bases"},"license":"MIT","description":"A base TSConfig for working with React Native.","version":"1.0.3"}

@@ -15,1 +15,37 @@ ### A base TSConfig for working with React Native.

```
---
The `tsconfig.json`:
```jsonc
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "React Native",
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"lib": [
"es2017"
],
"allowJs": true,
"jsx": "react-native",
"noEmit": true,
"isolatedModules": true,
"strict": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"skipLibCheck": false
},
"exclude": [
"node_modules",
"babel.config.js",
"metro.config.js",
"jest.config.js"
]
}
```
You can find the [code here](https://github.com/tsconfig/bases/blob/master/bases/react-native.json).
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "React Native",
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"lib": ["es6", "es2016.array.include", "es2017.object"],
"lib": [
"es2017"
],
"allowJs": true,

@@ -15,7 +16,12 @@ "jsx": "react-native",

"moduleResolution": "node",
"baseUrl": "./",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true
"esModuleInterop": true,
"skipLibCheck": false
},
"exclude": ["node_modules", "babel.config.js", "metro.config.js", "jest.config.js"]
"exclude": [
"node_modules",
"babel.config.js",
"metro.config.js",
"jest.config.js"
]
}