Scripts

Reference

Scripts

Run these in the app folder (the inner chatcart folder).

Command What it does
npm install Installs the packages. Good for your own computer.
npm ci Installs the exact versions from package-lock.json. Use it on servers.
npm run dev Starts the development server at http://localhost:3000.
npm run build Makes the production build.
npm run start Runs the production build (after npm run build).
npm run seed Loads the demo data, only into an empty database. Add -- --force to delete the existing data first.
npm run create-admin Creates an owner account. Add --reset-password to give an existing account a new password.
npm run lint Checks the code with ESLint.
npm run typecheck Checks the TypeScript types.
npm run test Runs the unit tests (no database needed).
npm run test:e2e Runs the Playwright smoke test. Run npx playwright install chromium once first.