AlgoWorld Docs
  • Overview
  • Swapper
    • Quick Start
      • Prerequisites
      • Setting up local development
      • Scripts
    • Architecture
      • Public Swaps
    • Directory structure
    • Env variables
    • Path Mapping
    • Testing
      • End to end tests
  • Explorer
    • Quick Start
    • Architecture
      • Gallery
      • City Packs
      • City Influence
Powered by GitBook
On this page

Was this helpful?

  1. Swapper
  2. Quick Start

Scripts

The page describes different modes of running the swapper for local dev purposes.

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.

PreviousSetting up local developmentNextArchitecture

Last updated 2 years ago

Was this helpful?