Setup and commands
Installation
Section titled “Installation”npm installnpm --prefix docs installRoot commands
Section titled “Root commands”npm run devnpm run dev:chromenpm run dev:firefoxnpm run build:chromenpm run build:firefoxnpm run buildnpm testmake chromemake firefoxmake chrome-devmake firefox-devmake docs-buildMeaning
Section titled “Meaning”npm run dev: watch build for Chromenpm run dev:chromeandnpm run dev:firefox: browser-specific watch buildsnpm run build: build both browser targetsnpm test: run the Vitest suitemake chrome-devandmake firefox-dev: watch builds with browser-specific load instructionsmake docs-build: build the Astro/Starlight docs workspace
Run the docs locally
Section titled “Run the docs locally”npm --prefix docs run devOutput directories
Section titled “Output directories”- extension:
dist/chromeanddist/firefox - dev watch builds:
dist/dev/chromeanddist/dev/firefox - docs:
docs/dist