Skip to content

Build and Test Scripts

YarCraSy edited this page Jul 8, 2026 · 2 revisions

Previous page: Overview

Scripts

Root

  • npm run compile: TypeScript without emitting files.
  • npm run watch: TypeScript in watch mode.
  • npm run build: extension + webview.
  • npm run build:extension: bundle dist/Extension.js.
  • npm run build:webview: bundle dist/webview.
  • npm run dev:webview: Vite server for UI.
  • npm run docs:wiki:export: export documentation/markdown to .wiki-export for GitHub Wiki publishing.
  • npm run lint: ESLint over src.
  • npm test: VS Code tests.

Web documentation

In documentation/web-doc:

  • npm run dev: Astro dev server.
  • npm run build: Astro build.
  • npm run preview: preview the build.

Local Node

If the environment uses nvm, load it first:

source ~/.nvm/nvm.sh

Next page: Verification

Clone this wiki locally