- React as the view
- Hot reloading of changes in
src
- Optimised for long-term caching
- Progressive Web Application ready via a Service Worker, with offline support
- Long term browser caching of assets with automated cache invalidation
- Source bundled with Webpack 2 so tree-shaking is enabled
- Static type checking with Flow
- Standard Javascript ESlint configuration
- Testing with Jest
Run npm install
or yarn
to install dependencies.
You're done installing! You can now start developing.
You can run every command with npm run ...
, yarn run ...
or yarn ...
.
Command | Description |
---|---|
yarn dev |
Starts a web server and open your app in your browser. When you make changes in the src folder, it will rebuild your app and refresh your browser. |
yarn lint |
Lint your code and automatically fix lint errors with ESLint where possible. |
yarn flow |
Typecheck your files with Flow. Use a plugin like linter-flow for your text editor to type check your code while writing code. Add /* @flow */ to the top of each file you’d like to typecheck. |
yarn start |
Simulate a production server with gzip. It starts a static file server with serve with the build folder as root. |
yarn test |
Run all your tests with Jest and watch for file changes to restart the tests. |
yarn coverage |
Create and open the coverage report of all your tests. |
yarn build |
You can now deploy the build folder to your live server. |
MIT