Skip to content

EasterCompany/eastercompany.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easter.company

This repository contains the source code for the easter.company website.

It's all open source so you can snoop around if you want, but right now we're under-going a big overhaul, so, hold on tight!

Development

The website is built using simple HTML files and a universal JavaScript application (dex.js) that provides styling and interactive features.

Build Process

To make changes to the JavaScript application, edit the files in /source/dex/.

The build system relies on esbuild. To install it, you need to have Go installed and then run:

go install github.com/evanw/esbuild/cmd/esbuild@latest

To build the site, run the following script from the repository root:

./easter.company/scripts/build.sh

This script will:

  1. Bundle all JavaScript from /source/dex/ into /dex.js.
  2. Automatically inject the required <script> tag into all .html files in the root directory.