Skip to content

Setup and commands

Terminal window
npm install
npm --prefix docs install
Terminal window
npm run dev
npm run dev:chrome
npm run dev:firefox
npm run build:chrome
npm run build:firefox
npm run build
npm test
make chrome
make firefox
make chrome-dev
make firefox-dev
make docs-build
  • npm run dev: watch build for Chrome
  • npm run dev:chrome and npm run dev:firefox: browser-specific watch builds
  • npm run build: build both browser targets
  • npm test: run the Vitest suite
  • make chrome-dev and make firefox-dev: watch builds with browser-specific load instructions
  • make docs-build: build the Astro/Starlight docs workspace
Terminal window
npm --prefix docs run dev
  • extension: dist/chrome and dist/firefox
  • dev watch builds: dist/dev/chrome and dist/dev/firefox
  • docs: docs/dist