This repo contains the source code for a serverless function that redirects traffic from the domains I currently own but don't use to my personal website located at https://anthony.codes, using micro
.
git clone https://github.com/4cm4k1/domain-redirects # clones this repo
cd domain-redirects # changes directories
yarn # installs dependencies
yarn dev # serves in dev mode at http://localhost:3000
# these four commands run automatically
# on `pre-commit` and `pre-push` using `husky`
yarn prettier # runs `prettier` on source files
yarn test # runs tests with `ava`
yarn coverage # generates code coverage reports with `nyc`
yarn report-coverage # uploads code coverage reports with `codecov`
# these two commands run automatically when commits are pushed
# to this GitHub repo (`alias` only occurs on `master` branch)
now # deploys to Now (requires Now)
now alias # points aliases in `now.json` to deployment (requires Now)
Name | Website |
---|---|
Anthony Maki | https://anthony.codes |