react-universally
Version:
A starter kit for universal react applications.
53 lines (29 loc) • 2.06 kB
Markdown
- [Project Overview](/internal/docs/PROJECT_OVERVIEW.md)
- [Project Configuration](/internal/docs/PROJECT_CONFIG.md)
- __[Package Script Commands](/internal/docs/PKG_SCRIPTS.md)__
- [Feature Branches](/internal/docs/FEATURE_BRANCHES.md)
- [Deploy your very own Server Side Rendering React App in 5 easy steps](/internal/docs/DEPLOY_TO_NOW.md)
- [FAQ](/internal/docs/FAQ.md)
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`](https://zeit.co/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.
Runs the `jest` tests.
Runs the `jest` tests and generates a coverage report. I recommend you look at [codecov.io](https://codecov.io) to host your coverage reports.