This page describes additional npm scripts for use when developing the Ground web console. Be sure to follow instructions in <../README.md> before proceeding.
Perform a clean install of all deps without modifying package-lock.json with:
npm run ci-all
NOTE: When adding new deps, using npm install --save
or --save-dev
to update and package.json package-lock.json accordingly.
To build and run locally against a live Firebase project:
npm run build-all-and-start --config=dev --project=<project-id>
To run tests locally in a browser:
npm run test
To execute the end-to-end tests:
npm run e2e
To deploy the web app without updating Cloud Functions or Firebase config, from the current directory:
npm run deploy --project=<project-id>