- playwright.config.ts: desktop (1440) + mobile (Pixel 5) projects, static webServer over the exported out/; a PW_CHROME env override for the browser - tests/e2e: render + all core sections, tracked download hrefs with no R2 exposure, the live counter (mocked function), theme toggle, image loading, zero console errors, and responsive nav (desktop links / mobile menu reveal) - navbar: hide the closed mobile menu with `invisible` so its links stay out of the tab order and the accessibility tree, not merely clipped - add the test:e2e script and ignore test-results/ + playwright-report/
33 lines
741 B
JSON
33 lines
741 B
JSON
{
|
|
"name": "agent-company-landing",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"preview": "wrangler pages dev out",
|
|
"test:e2e": "next build && playwright test"
|
|
},
|
|
"dependencies": {
|
|
"next": "16.2.6",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"reicon-brands": "^1.0.2",
|
|
"reicon-react": "^1.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@tailwindcss/postcss": "^4.2.2",
|
|
"@types/node": "^24.9.1",
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"tailwindcss": "^4.2.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"overrides": {
|
|
"postcss": "8.5.14"
|
|
}
|
|
}
|