Skip to content

Latest commit

 

History

History

web

codecov

Ground web console

This page describes additional npm scripts for use when developing the Ground web console. Be sure to follow instructions in <../README.md> before proceeding.

Build and run locally

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>

Run tests

To run tests locally in a browser:

npm run test

To execute the end-to-end tests:

npm run e2e

Deploy web app

To deploy the web app without updating Cloud Functions or Firebase config, from the current directory:

npm run deploy --project=<project-id>