mirror of
https://github.com/vee1e/flare-floss.git
synced 2026-09-01 09:49:59 +00:00
test: move viewer checks to viewer README
This commit is contained in:
parent
f2e8acfbce
commit
e5ceeb878c
2 changed files with 7 additions and 12 deletions
12
doc/test.md
12
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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue