
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@hellomouse/babel-preset-react-app
Advanced tools
This package includes the Babel preset used by Create React App.
Please refer to its documentation:
The easiest way to use this configuration is with Create React App, which includes it by default. You don’t need to install it separately in Create React App projects.
If you want to use this Babel preset in a project not built with Create React App, you can install it with following steps.
First, install Babel.
Then install babel-preset-react-app.
npm install babel-preset-react-app --save-dev
Then create a file named .babelrc with following contents in the root folder of your project:
{
"presets": ["react-app"]
}
This preset uses the useBuiltIns option with transform-object-rest-spread and transform-react-jsx, which assumes that Object.assign is available or polyfilled.
To use this package with @babel/preset-typescript, you need to disable @babel/preset-flow first.
You can achieve this by doing:
{
"presets": [
["react-app", {
"flow": false
}],
"@babel/typescript"
]
}
FAQs
Babel preset used by Create React App
We found that @hellomouse/babel-preset-react-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.