This site is built with Astro using both Astro-native and Svelte components (thanks to Astro's islands architecture).
This site integrates Sanity for content management (including image hosting, with on-the-fly, URL-based transformations). Sanity is configured to trigger a Vercel-generated web hook trigger so that when any updates are made, Vercel will re-deploy.
Whenever commits are pushed to GitHub or changes are made in Sanity, Vercel automatically builds and deploys a new version of the site across its worldwide edge network (for free!).
This project is configured to use Prettier for formatting code and ESLint for linting code. Husky is used to provide a git pre-commit hook which calls lint-staged
to run both Prettier and ESLint on any files being committed at the time of the commit. These tools help maintain (and enforce) code quality and consistency.
These should be run from the root of the project:
Command | Action |
---|---|
dev |
Start local dev server |
build |
Build production site to ./dist/ |
preview |
Preview build locally before deploying |
prepare |
npm runs this after npm install , to set up husky |