Files
metabuilder/frontends/nextjs/package.json
copilot-swe-agent[bot] df795327f8 Add missing E2E test scripts to frontends/nextjs/package.json
- Added test:unit script for unit tests
- Added test:e2e script referencing root Playwright config
- Added test:e2e:ui, test:e2e:headed, test:e2e:debug scripts
- Added test:e2e:report script
- Added test:e2e:dbal-daemon script for daemon-specific tests
- Fixed playwright.dbal-daemon.config.ts to use correct paths and health endpoint

This resolves the CI blocker where workflows running from frontends/nextjs
directory couldn't find these scripts.

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-08 14:40:53 +00:00

68 lines
2.5 KiB
JSON

{
"name": "metabuilder",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
"test": "vitest",
"test:run": "vitest run",
"test:watch": "vitest",
"test:unit": "vitest run",
"test:e2e": "playwright test --config=../../playwright.config.ts",
"test:e2e:ui": "playwright test --config=../../playwright.config.ts --ui",
"test:e2e:headed": "playwright test --config=../../playwright.config.ts --headed",
"test:e2e:debug": "playwright test --config=../../playwright.config.ts --debug",
"test:e2e:report": "playwright show-report",
"test:e2e:dbal-daemon": "playwright test --config=../../e2e/playwright.dbal-daemon.config.ts",
"db:generate": "prisma generate --schema=../../prisma/schema.prisma",
"db:push": "prisma db push --schema=../../prisma/schema.prisma",
"db:migrate": "prisma migrate deploy --schema=../../prisma/schema.prisma"
},
"dependencies": {
"@monaco-editor/react": "^4.7.0",
"@octokit/core": "^7.0.6",
"@prisma/adapter-better-sqlite3": "^7.2.0",
"@prisma/client": "^7.2.0",
"better-sqlite3": "^12.5.0",
"clsx": "^2.1.1",
"esbuild": "^0.27.2",
"jsdom": "^27.4.0",
"next": "16.1.1",
"octokit": "^5.0.5",
"react": "19.2.3",
"react-dom": "19.2.3",
"server-only": "^0.0.1",
"uuid": "^13.0.0",
"zod": "^4.3.5"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@tanstack/react-query": "^5.90.16",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.1",
"@types/better-sqlite3": "^7.6.12",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.2.2",
"@vitest/coverage-v8": "^4.0.16",
"eslint": "^9.39.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"prettier": "^3.4.2",
"prisma": "^7.2.0",
"sass": "^1.97.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.50.1",
"vitest": "^4.0.16"
}
}