29b176d2db
- build: pin Playwright Test and MCP with repository-local npm, browser, and artifact paths plus sandboxed headless Chromium configuration. - test: add a browser smoke test for the login page while keeping Playwright isolated from Vitest. - docs: document Debian dependency setup, dual Chromium revisions, E2E commands, and project-scoped Codex MCP usage.
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "mygo-web",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=24 <25"
|
|
},
|
|
"packageManager": "npm@11.9.0",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "oxlint",
|
|
"playwright:install": "playwright install chromium",
|
|
"playwright:install:deps": "playwright install-deps chromium",
|
|
"playwright:install:mcp": "node node_modules/playwright/cli.js install chromium",
|
|
"test": "vitest run",
|
|
"test:e2e": "playwright test",
|
|
"typecheck": "tsc -b",
|
|
"check": "npm run lint && npm run test && npm run build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^6.3.2",
|
|
"@tanstack/react-query": "^5.101.2",
|
|
"antd": "^6.5.1",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"react-router": "^8.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/mcp": "0.0.78",
|
|
"@playwright/test": "1.61.1",
|
|
"@tailwindcss/vite": "^4.3.2",
|
|
"@types/node": "^24.13.2",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.3",
|
|
"oxlint": "^1.71.0",
|
|
"tailwindcss": "^4.3.2",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.1.1",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|