You can develop, test, and build the application using various commands.
Run the application in development mode with a local development server.
Run the unit tests for the application. Unit tests are written with Intern.
Build the application for deployment.
npm run build
Run a production build of the application, but serve it up locally to see how the built app will behave.
npm run serve
npm run serve to full test that Service Workers are working correctly with
webpack-dev-server self signed certifcates. Refer to this article on how to run Chrome with proper flags enabled for development purposes.