WebApp Template (mockup)

A starting point for building a static site.

Development

Uses

Apps and Packages

apps/

packages/

  • pathtest-utils
    Used in `apps/web/test/path.test.js`

Development

pnpm build     # Build and then output to `public/*`
pnpm dev       # Watch build files and launch browser-sync server on port 8000
pnpm lint      # Linting
pnpm list:fix  # Format with `eslint --fix`
pnpm test      # Testing
pnpm clean     # Delete `node_modules` etc.

# `commands/*`
pnpm clean-image  # Remove unused image files in `public/images/*`
pnpm deploy       # When deploying to a VPS such as DigitalOcean using `rsync`