Lifecycle
npm run startUsually runs app (e.g. next start).
npm run buildProduction build.
npm run devDevelopment server.
npm testRun tests (or npm run test).
npm run lintLint code.
Common scripts
npm installInstall dependencies.
npm ciClean install from lockfile.
npm run cleanOften removes build/output (project-specific).
npm run typecheckTypeScript check (if defined).