
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@tsconfig/react-native
Advanced tools
Add the package to your "devDependencies":
npm install --save-dev @tsconfig/react-native
yarn add --dev @tsconfig/react-native
Add to your tsconfig.json:
"extends": "@tsconfig/react-native/tsconfig.json"
The tsconfig.json:
{
"$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.
react-native-typescript-transformer is a custom transformer for Metro, the React Native bundler, that allows you to use TypeScript with React Native. It provides a way to integrate TypeScript compilation into the React Native build process, but it requires additional setup compared to the out-of-the-box configuration provided by @tsconfig/react-native.
ts-jest is a Jest transformer that enables you to use TypeScript with Jest for testing. While it is not a direct replacement for @tsconfig/react-native, it complements it by providing TypeScript support in the testing environment, ensuring type safety in tests for React Native projects.
FAQs
A base TSConfig for working with React Native.
The npm package @tsconfig/react-native receives a total of 205,279 weekly downloads. As such, @tsconfig/react-native popularity was classified as popular.
We found that @tsconfig/react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.