Add Playwright configuration and E2E specs for key production, purchasing, and warehouse flows, and update layout/login to align with the new testing setup. Made-with: Cursor
37 lines
867 B
JSON
37 lines
867 B
JSON
{
|
|
"name": "erp-frontend-vue",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"@types/qrcode": "^1.5.6",
|
|
"axios": "^1.13.3",
|
|
"element-plus": "^2.13.1",
|
|
"qrcode": "^1.5.4",
|
|
"vue": "^3.5.24",
|
|
"vue-router": "^4.6.4"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/node": "^24.10.1",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"@vue/tsconfig": "^0.8.1",
|
|
"jsdom": "^27.4.0",
|
|
"sass-embedded": "^1.97.3",
|
|
"typescript": "~5.9.3",
|
|
"vite": "^7.2.4",
|
|
"vitest": "^4.0.18",
|
|
"vue-tsc": "^3.1.4"
|
|
}
|
|
}
|