Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 716 Bytes

File metadata and controls

18 lines (16 loc) · 716 Bytes

Miniflare Example Project

This is an example Cloudflare Workers project that uses Miniflare for local development, TypeScript, esbuild for bundling, and Jest for testing, with Miniflare's custom Jest environment.

# Install dependencies
$ npm install
# Start local development server with live reload
$ npm run dev
# Start remote development server using wrangler
$ npm run dev:remote
# Run tests
$ npm test
# Run type checking
$ npm run types:check
# Deploy using wrangler
$ npm run deploy