Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 714 Bytes

File metadata and controls

28 lines (19 loc) · 714 Bytes

Developing

To run in development you can use the following command

deno run --no-check --allow-net --allow-read --unstable --watch ./src/Server.ts

or if on a normal computer ./src/Server.ts should be enough.

Tests

Tests go into the tests/ folder and they use Deno.test. The naming scheme should be { module_name }.test.{ js | ts | jsx | tsx }.

Production

The same command should work just fine, but you might prefer to bundle all frontend javascript you may use deno bundle --no-check src/View.tsx view.js and change index.html to import it. Now you may bundle those files for offline use.

Dependencies:

  • deno
  • preact
  • terser