Scripts for building, testing, deploying the packages of this monorepo, or for general development. If not otherwise specified, run these scripts from the monorepo root.
Build the docs for each package:
npm run docs --workspaces --if-present
Build the index page for the docs:
./scripts/docs-index.mjs
Serve the docs:
npx http-server ./docs/ --port 8090
Upgrade dependencies all packages, interactively:
npx ncu --dep 'dev,prod' --deep --interactive --upgrade --loglevel info
Run the linter on all packages:
npm run lint --workspaces --if-present
Run the formatter on all packages:
npm run format --workspaces --if-present
Generate the audio files used in tests:
npx tsm scripts/generate-audio-fixtures.ts