doomsday/README.md

1018 B

Doomsday

Given a random date, can you determine the weekday of that date? Conway's Doomsday rule provides a simple set of steps to calculate the weekday of any date in the Gregorian calendar. This tool will help you practice the algorithm by giving you random dates to test on. Set this as your homepage to get yourself to practice this every day.

Development

Requirements

Setting up

# Install dependencies (only needed once)
$> npm ci

Building

# Build the template in `dist/` for development
$> npm run dev
# Same as above, but automatically rerun it whenever files are changed
$> npm run dev:server
# Same as above, but also rerun when linked `@fwdekker` dependencies change
$> npm run dev:server:link
# Build the template in `dist/` for deployment
$> npm run deploy

Publishing

# Log in to npm
$> npm login
# Push to npm
$> npm publish --access public