Member-only story
R3F-Pack : react-scripts alternative
Are you sick of react-scripts
vulnerability warnings when using it?
And running npm audit fix --force
just creates more problems?
Try R3F-pack, the simplified and maintained alternative to react-scripts
It works the same, but supports only the most commonly used functionality in order to keep the tool easier to maintain to 0 vulnerabilities.
It’s easy to use since you can keep your existing project structure and workflow, and roll back to react-scripts
in case you ever change your mind.
To Install R3F-Pack
First uninstall react-scripts
npm uninstall react-scripts
Next, install r3f-pack
npm install r3f-pack --save-dev
Important: Uninstall the old, before you install the new.
And next, replace the start
and build
commands in your existing package.json
→scripts
node.
{
...
"scripts": {
- "start": "react-scripts start"…