set shell := ["bash", "-eu", "-o", "pipefail", "-c"] npm := "npm" # Show the frontend recipes available in this directory. help: @just --list # Install or update frontend dependencies for local development. install: {{ npm }} install # Install the frontend dependencies exactly as CI does. install-ci: {{ npm }} ci # Run the Angular development server. dev: {{ npm }} run dev # Run the Angular development server with the default `start` script. start: {{ npm }} start # Build the production frontend bundle. build: {{ npm }} run build # Build the frontend continuously in development mode. watch: {{ npm }} run watch # Run the frontend test suite. test: {{ npm }} test # Run the frontend tests with a coverage report. coverage: npx ng test --coverage # Run the frontend linter. lint: {{ npm }} run lint # Check the installed dependency tree. deps: {{ npm }} ls --depth=0 # Run a local dependency audit without forcing a CI-specific severity threshold. audit: {{ npm }} audit # Run the stricter dependency audit used in CI. audit-ci: {{ npm }} audit --audit-level=critical # Run the standard local frontend verification pass. check: deps lint test # Run the frontend CI-style verification sequence from a clean install. ci-check: install-ci audit-ci deps lint test