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 athttp://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 thesrcdirectory.yarn format— Runs Prettier for all files in thesrcdirectory.yarn commit— Run commitizen. Alternative togit commit.
Last updated
Was this helpful?