Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 796 Bytes

scripts.md

File metadata and controls

23 lines (17 loc) · 796 Bytes
description
The page describes different modes of running the swapper for local dev purposes.

Scripts

Client and functions

  • vercel dev - executes both backend and frontend.

Frontend only

Below is for frontend client only (excluding Vercel serveless functions).

  • yarn dev — Starts the application in development mode at http://localhost:3000.
  • yarn build — Creates an optimized production build of your application.
  • yarn start — Starts the application in production mode.
  • yarn type-check — Validate code using TypeScript compiler.
  • yarn lint — Runs ESLint for all files in the src directory.
  • yarn format — Runs Prettier for all files in the src directory.
  • yarn commit — Run commitizen. Alternative to git commit.