0.3.19 • Published 5 years ago
@proteria/react-scripts v0.3.19
react-scripts
Fully typed, modern react-scripts
fork.
Upstream: 7763737
Flags
KEEP_CONSOLE # Do not clear console upon new message
HEADLESS # run dev server without opening the browser automatically
Quick Overview
yarn remove react-scripts
yarn add @proteria/react-scripts
Then open http://localhost:3000/ to see your app.
When you’re ready to deploy to production, create a minified bundle with npm run build
.
What’s included?
Your environment will have everything you need to build a modern single-page React app:
- Web Worker support
- Webpack module alias support
react-app-rewired
support out-of-the-box.- No Internet Explorer
react-scripts
- React, JSX, ES6, TypeScript and Flow syntax support.
- Language extras beyond ES6 like the object spread operator.
- Autoprefixed CSS, so you don’t need
-webkit-
or other prefixes. - A fast interactive unit test runner with built-in support for coverage reporting.
- A live development server that warns about common mistakes.
- A build script to bundle JS, CSS, and images for production, with hashes and sourcemaps.
- An offline-first service worker and a web app manifest, meeting all the Progressive Web App criteria. (Note: Using the service worker is opt-in as of
react-scripts@2.0.0
and higher) - Hassle-free updates for the above tools with a single dependency.
Check out this guide for an overview of how these tools fit together.
The tradeoff is that these tools are pre-configured to work in a specific way. If your project needs more customization, you can "eject" and customize it, but then you will need to maintain this configuration.
Credits
This project exists thanks to all the people who contribute.