This application is written in TypeScript and utilizes the @arcgis/webpack-plugin
with React.
You can develop, test, and build the application using various commands.
Run the application in development mode with a local development server.
npm start
Run the unit tests for the application. Unit tests are written with Intern and react-testing-library.
npm test
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
Use 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.