diff --git a/README.md b/README.md index 080eaa8..706db3c 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ pnpm install | `pnpm run format` | Run the formatter to automatically fix code style issues | | `pnpm run test:browser` | Run browser tests (only works inside the `packages/luna-charts` directory) | | `pnpm run storybook` | Start the storybook documentation | +| `pnpm run stencil:dev` | Runs the Stencil development server with live-reloading for the `luna-charts package inside the monorepo. | Component and browser tests run inside Docker (`docker-compose.test.yaml`), based on the same `Dockerfile.test` used to build the image CI tests against, to guarantee a reproducible browser environment — you don't need Playwright browsers installed locally. Locally this image is built on demand; in CI a prebuilt version of the same image is pulled directly (see [ADR-0002](./docs/src/content/docs/architecture/adr/000200-technology-stack.mdx) and the [Technology Architecture](./docs/src/content/docs/architecture/adm/technology-architecture.mdx#66-test-execution-environment) doc for details). diff --git a/package.json b/package.json index 6401557..07573a3 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "docs": "pnpm --filter docs run dev", "lint": "pnpm --filter luna-charts run lint", + "stencil:dev": "pnpm --filter luna-charts exec stencil build --watch", "format": "prettier --write .", "format:check": "pnpm --filter luna-charts run format:check", "changeset": "changeset",