/template-cf-pages

template for cloudflare pages: - front : svelte with typescript - back : itty-router with typescript - tests : jest

Primary LanguageTypeScript

A simple template for CloudFlare pages :

  • Front : svelte with typescript
  • Back : itty-router with typescript
  • Tests: jest with typescript

Npm commands :

  • npm run build:front : builds svelte front
  • npm run build:back : builds back
  • npm run build : builds both back and front
  • npm run dev : starts a local dev server (using CF wrangler)
  • npm test : run tests