Lints the project files with ESLint.
Formats the project files with ESLint.
Lints the project files with Prettier.
Formats the project files with Prettier.
Lints with both ESLint and Prettier.
Formats with both ESLint and Prettier. Runs before each commit via Husky + lint-staged.
Run all component tests with coverage (browser-based via Web Test Runner).
Run tests in watch mode.
Run tests for a single component by folder name, e.g. npm run test:coverage-for button.
Alias for storybook.
Build the library (Vite + TypeScript declarations + custom-elements.json).
Run TypeScript declarations once, then enter Vite watch mode for incremental rebuilds. Useful with npm link for live development against a consuming project.
Remove build artifacts (dist/, custom-elements.json, vscode.html-custom-data.json).
Generate custom-elements.json and vscode.html-custom-data.json from component source files. Run after adding or updating JSDoc documentation.
Serve the Storybook dev server on port 6006.
Build the Storybook for static deployment.
Scaffold a new component (interactive prompts). Creates the registration file, element class, test, story, and README under src/components/.