Introduce test.bat orchestrating Go/Vitest/Playwright phases, expand coverage across server, agent, and dashboard, and document in tests/README.md.
37 lines
888 B
JSON
37 lines
888 B
JSON
{
|
|
"name": "crypto-miner-dashboard",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@react-three/drei": "^9.114.0",
|
|
"@react-three/fiber": "^8.17.10",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/three": "^0.184.1",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.20.0",
|
|
"recharts": "^2.10.0",
|
|
"three": "^0.170.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.0",
|
|
"@types/react": "^18.2.37",
|
|
"@types/react-dom": "^18.2.15",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"happy-dom": "^15.11.7",
|
|
"typescript": "^5.2.2",
|
|
"vite": "^5.0.0",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|