Astro+Svelte marketing site for the book Forging Modernity
- Astro (v4)
- Svelte
- Leaflet
- Typescript + Zod
- Sass
- Vitest
- Cypress + Axe
- pnpm
- Github Actions (E2E testing) + Husky pre-commit hooks
- Cloudflare builds from
cloudflare
cloudflare
branch is protected from push/merge without E2E test passing
- Pre-commit hooks run on code: all lint runners
- Push to
master
branch - E2E tests run on new code
- If passed, branch pushed into
cloudflare
pnpm dev
: Build and serve development versionpnpm build
: Build to production (outputs todist
folder)pnpm preview
: Previewsdist
folderpnpm serve
: Build and serve productionpnpm test
: Run vitestpnpm test:coverage
: Generate coverage reportspnpm test:watch
: Run vitest in watch modepnpm test:debug
: Run vitest and allow node-based debuggingpnpm test:e2e
: Run cypress E2E testspnpm test:e2e:run
: Run cypress on production buildpnpm test:e2e:dev
: Open cypress dashboard on development buildpnpm test:e2e:dev:prod
: Open cypress dashboard on production buildpnpm cy:run
: Run cypresspnpm cy:open
: Open cypress dashboardpnpm lint
: Run all lint toolspnpm lint:js
: Run ESLintpnpm lint:css
: Run Stylelintpnpm lint:format
: Run prettier in check modepnpm lint:svelte
: Run svelte-checkpnpm lint:astro
: Run astro checkpnpm format
: Auto-format using prettierpnpm cloudflare
: Script to run as cloudflare that builds and generates public coverage reportspnpm prepare
: Prepare husky
- Suggestions welcome!
I'm available for freelance, contracts, and consulting both remotely and in the Hudson Valley, NY (USA) area. Some more about me and what I can do for you.
Feel free to drop me a message at:
hi [a+] zweisolutions {●} com
Code (outside the /src/content
, /src/assets
, and /public
folders) is licensed under MIT
Content underneath the /src/content
, /src/assets
and /public
folders is Copyright 2023-2024 of the author Martin Hutchinson unless otherwise stated, All Rights Reserved.