Command Reference
All CLI commands powered by Turborepo and PNPM Workspaces.
Development Servers
| Command | Description |
|---|---|
pnpm dev | Starts ALL apps, bots, and services in parallel |
pnpm dev:web | Starts only the main storefront (Port 3000) |
pnpm dev:dashboard | Starts only the admin dashboard (Port 3001) |
pnpm dev:docs | Starts only the Swagger API documentation (Port 3002) |
pnpm dev:discord | Starts only the Discord bot (Port 8787) |
pnpm dev:telegram | Starts only the Telegram bot (Port 8788) |
Code Quality & Testing
| Command | Description |
|---|---|
pnpm qa | Runs EVERYTHING (Lint, Format, Typecheck, Build) |
pnpm lint | Runs ESLint across all apps |
pnpm typecheck | Runs TypeScript compiler checks |
pnpm format | Auto-formats all code with Prettier |
pnpm test | Runs all Vitest unit tests |
pnpm test:ui | Opens the Vitest UI dashboard |
pnpm --filter @skam/web test:e2e | Runs Playwright E2E tests for the web app |
pnpm --filter @skam/web analyze | Runs the Next.js bundle analyzer |
pnpm lighthouse | Runs Lighthouse CI performance audit |
Production Builds
| Command | Description |
|---|---|
pnpm build | Builds ALL apps for production |
pnpm build:web | Builds only the main storefront |
pnpm build:dashboard | Builds only the admin dashboard |
pnpm build:docs | Builds only the docs app |
Tip: Under the hood, we use Turborepo to orchestrate tasks efficiently. You can also run raw turbo commands like npx turbo run dev --filter=...