This is a React app written in TypeScript.
- Node 16 (see .node-version)
- Yarn 1.22.17 or higher
It is strongly recommended that you use a version manager like nvm, nodenv, or asdf to ensure the correct Node version. If you use asdf, make sure to add the nodejs plugin and enable legacy version files.
Install dependencies:
yarn install
Start the server:
yarn start
This will launch the app at:
yarn startstarts the development server listing on port 3000. Changes to .js or .scss files automatically refresh in the browser.yarn testruns tests in "watch" mode, automatically focusing on tests or code that were modified since the last commit. Press theakey after the test runner has started to watch all tests in the project.yarn test:coverageruns all tests, prints coverage stats, and then exits.yarn lintruns all ESLint checks and then exits.yarn buildgenerates an optimized bundle of the app into thebuilddirectory, suitable for deployment.
Generated by spraygun-react-ts