Warning
This is purely a testbed for trying out ideas and experimenting with newer APIs and techniques. Consider everything experimental and not recommended for production use.
For those using nvm, simply run the following command to install the required version of NodeJS:
nvm use
From a terminal, where you have cloned the repository, execute the following command to install the required dependencies:
yarn install
Running locally (defaults to http://127.0.0.1:5500
)
yarn start
Check and fix code style
yarn lint
Optimize images from assets/media
and assets/favicon
and saves the optimized versions to assets/media-opt
and assets/favicon-opt
respectively:
yarn images
Build and bundle files in src
to assets/bundle
yarn build
To analyze the bundle
yarn analyze
The built files from assets/*
plus index.html
can be served from any static file server. GitHub Pages are used for this repository and deployed to https://d13.github.io/.