- Project Overview
- Project Configuration
- Package Script Commands
- Feature Branches
- Deploy your very own Server Side Rendering React App in 5 easy steps
- FAQ
Creates an 'webpack-bundle-analyze' session against the production build of the client bundle.
Creates an 'webpack-bundle-analyze' session against the production build of the server bundle.
Builds the client and server bundles, with the output being optimized.
Builds the client and server bundles, with the output including development related code.
Deletes any build output that would have originated from the other commands.
Deploys your application to now
. If you haven't heard of these guys, please check them out. They allow you to hit the ground running! I've included them within this repo as it requires almost zero configuration to allow your project to be deployed to their servers.
Starts a development server for both the client and server bundles. We use react-hot-loader
v3 to power the hot reloading of the client bundle, whilst a filesystem watch is implemented to reload the server bundle when any changes have occurred.
Executes eslint
against the project. Alternatively you could look to install the eslint-loader
and integrate it into the webpack
bundle process.
Executes the server. It expects you to have already built the bundles using the yarn run build
command.
## yarn run test
Runs the jest
tests.
## yarn run test:coverage
Runs the jest
tests and generates a coverage report. I recommend you look at codecov.io to host your coverage reports.