Runs webpack-bundle-analyze
against a production build of the client bundle.
Runs webpack-bundle-analyze
against a production build of the server bundle.
Builds optimized client and server bundles.
Builds client and server bundles in development
mode.
Deletes any of the build files/folders.
Deploys the application using now
. This requires almost zero configuration to allow your project to be deployed to their servers. Make sure to run npm i -g now
to install now
before running this command.
Starts a development server for the client and server bundles. To keep our bundles up-to-date, react-hot-loader
is launched to handle hot reloading of the client bundle, and an fs
watcher is launched to reload the server.
Runs eslint
against the project.
Runs the server. This will expect that you've already build the bundles using npm run build
as the server is using ES6.
Runs jest
tests.
Runs jest
tests and generates a coverage report. Something like codecov.io can be used to host any coverage reports.