test: move viewer checks to viewer README

This commit is contained in:
lakshit verma 2026-08-25 01:21:04 +05:30
parent f2e8acfbce
commit e5ceeb878c
No known key found for this signature in database
2 changed files with 7 additions and 12 deletions

View file

@ -26,18 +26,6 @@ pull request. It checks code style and runs the unit test suite across the
supported Python versions and operating systems. See the workflow file for the
current matrix. All checks must pass before a pull request is merged.
## The web viewer
The [viewer](../viewer/) is a separate Node.js/TypeScript app with its own
tooling. Install dependencies and check it with:
cd viewer
npm install
npm run lint
npm run build
`npm run build` produces a single self-contained `dist/index.html`.
## Binary Test Cases

View file

@ -23,6 +23,13 @@ Then, run the development server:
npm run dev
```
To check your changes, run the linter and a production build:
```bash
npm run lint
npm run build
```
This will start a local server, and you can view the application in your browser. The server supports Hot Module Replacement (HMR), so changes to the source code will be reflected live without a full page reload.
## Building