diff --git a/README.md b/README.md index 828856f..b725cfc 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,14 @@ npm run build # Build the application for production npm start # Run the compiled production build locally # Code Quality & Formatting -npm run lint # Check code style with Prettier +npm run lint # Lint source files with ESLint +npm run lint:format # Check code style with Prettier (without auto-fixing) npm run format # Format codebase style automatically using Prettier +npm run typecheck # Run TypeScript compiler check without emitting files # Testing & Audits +npm test # Run unit tests with Jest +npm run test:watch # Run Jest in watch mode npm run test:e2e # Run end-to-end integration tests using Playwright npm run audit:a11y # Build application and perform an accessibility (a11y) audit via axe-playwright diff --git a/package.json b/package.json index 9f2c8e1..43a9066 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,14 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "prettier --check .", + "lint": "eslint .", + "lint:format": "prettier --check .", "audit:a11y": "next build && npx axe-playwright", "format": "prettier --write .", + "test": "jest", + "test:watch": "jest --watch", "test:e2e": "playwright test", + "typecheck": "tsc --noEmit", "prepare": "husky", "analyze": "ANALYZE=true next build" },