A Pokedex-style frontend written in TypeScript
using mithril.js
.
A node package manager, such as yarn
– brew install yarn
.
Some way to serve your local build, such as – serveit – brew install serveit
.
Run yarn
to install dependencies.
Build the project with ./build.sh
.
./build.sh
(This will compile .ts
files, bundle them into index.bundle.js
, and sync
any files in html/
or css/
.)
Serve and watch locally using serveit -s out "./build.sh"
. This will serve
the out/
dir on localhost:8000
and rerun the build script whenever the site
is requested and files have changed.