@tsconfig/react-native
Advanced tools
+1
-1
@@ -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"} |
+36
-0
@@ -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). |
+11
-5
| { | ||
| "$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" | ||
| ] | ||
| } |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2830
38.52%26
36.84%50
233.33%0
-100%