Add watch-ts, watch-site and serve scripts as convenient shortcuts for running the development services.
15 lines
542 B
Markdown
15 lines
542 B
Markdown
# hornwitser.no
|
|
|
|
The code behind hornwitser.no
|
|
|
|
## Development
|
|
|
|
For regular development run:
|
|
- `pnpm watch-ts` to transpile the TypeScript code to build/node and watch for changes.
|
|
- `pnpm watch-site` to host the site on http://localhost:8080 and reload the server on changes.
|
|
- `pnpm test` to run the tests and report coverage.
|
|
|
|
Other scripts available are:
|
|
- `pnpm prepare` to transpile the TypeScript code to build/node
|
|
- `pnpm build` to build the static resources to build/web.
|
|
- `pnpm serve` to host the website on http://localhost:8080
|