Skam Docs

Command Reference

All CLI commands powered by Turborepo and PNPM Workspaces.

Development Servers

CommandDescription
pnpm devStarts ALL apps, bots, and services in parallel
pnpm dev:webStarts only the main storefront (Port 3000)
pnpm dev:dashboardStarts only the admin dashboard (Port 3001)
pnpm dev:docsStarts only the Swagger API documentation (Port 3002)
pnpm dev:discordStarts only the Discord bot (Port 8787)
pnpm dev:telegramStarts only the Telegram bot (Port 8788)

Code Quality & Testing

CommandDescription
pnpm qaRuns EVERYTHING (Lint, Format, Typecheck, Build)
pnpm lintRuns ESLint across all apps
pnpm typecheckRuns TypeScript compiler checks
pnpm formatAuto-formats all code with Prettier
pnpm testRuns all Vitest unit tests
pnpm test:uiOpens the Vitest UI dashboard
pnpm --filter @skam/web test:e2eRuns Playwright E2E tests for the web app
pnpm --filter @skam/web analyzeRuns the Next.js bundle analyzer
pnpm lighthouseRuns Lighthouse CI performance audit

Production Builds

CommandDescription
pnpm buildBuilds ALL apps for production
pnpm build:webBuilds only the main storefront
pnpm build:dashboardBuilds only the admin dashboard
pnpm build:docsBuilds 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=...