In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
To build and deploy to main location.
May need execution permissions one time. chmod u+x ./scripts/deploy_main.sh
To build and deploy to test location.
May need execution permissions one time. chmod u+x ./scripts/deploy_test.sh
To build and deploy to demo location. Provides anonymous deployment if needed.
May need execution permissions one time. chmod u+x ./scripts/deploy_demo.sh
To start dev app with code coverage instrumentation. The report is saved at
./coverage/lcov-report/index.html
.
To run cypress tests interactively. Remember to start server in different tab first. If coverage stats needed, start server with instrumentation using command above to be able to generate coverage report.
Run visual tests using percy. Will run all tests (including non visual) in the specified specs file/folder(s). Requires Percy token to be set using export PERCY_TOKEN=token
.
pnpm env use -g 16.20.2
pnpm add [email protected] # for bcd_viewer