diff --git a/doc/test.md b/doc/test.md index e0f41ec..064d792 100644 --- a/doc/test.md +++ b/doc/test.md @@ -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 diff --git a/viewer/README.md b/viewer/README.md index 108ad42..315183f 100644 --- a/viewer/README.md +++ b/viewer/README.md @@ -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