57 lines
2.4 KiB
JSON
57 lines
2.4 KiB
JSON
{
|
|
"name": "medassist-ng-frontend",
|
|
"private": true,
|
|
"version": "1.16.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "npx biome check .",
|
|
"lint:fix": "npx biome check --write .",
|
|
"format": "npx biome format --write .",
|
|
"check": "npx biome check . && tsc --noEmit",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:e2e": "rm -rf test-results && playwright test --config=playwright.stable.config.ts",
|
|
"test:e2e:all": "rm -rf test-results && playwright test --config=playwright.all.config.ts",
|
|
"test:e2e:local": "PLAYWRIGHT_HTML_OPEN=never PLAYWRIGHT_WORKERS=4 npm run test:e2e",
|
|
"test:e2e:all:local": "PLAYWRIGHT_HTML_OPEN=never PLAYWRIGHT_WORKERS=4 npm run test:e2e:all",
|
|
"test:e2e:with-video": "npm run test:e2e && npm run test:e2e:video",
|
|
"test:e2e:all:with-video": "npm run test:e2e:all && npm run test:e2e:video",
|
|
"test:e2e:video": "find \"$PWD/test-results\" -name video.webm -not -path '*retry*' -print0 | xargs -0 ls -tr > /tmp/e2e-videos.list && if [ -s /tmp/e2e-videos.list ]; then sed \"s/^/file '/\" /tmp/e2e-videos.list | sed \"s/$/'/\" > /tmp/e2e-videos.txt && ffmpeg -y -f concat -safe 0 -i /tmp/e2e-videos.txt -c copy test-results/all-tests.webm; else echo 'No videos found to merge'; fi",
|
|
"test:e2e:ui": "playwright test --config=playwright.stable.config.ts --ui",
|
|
"test:e2e:headed": "playwright test --config=playwright.stable.config.ts --headed",
|
|
"test:e2e:debug": "playwright test --config=playwright.stable.config.ts --debug",
|
|
"test:e2e:report": "playwright show-report"
|
|
},
|
|
"dependencies": {
|
|
"i18next": "^25.8.13",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"lucide-react": "^0.575.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-i18next": "^15.4.1",
|
|
"react-router-dom": "^7.13.1",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.4",
|
|
"@playwright/test": "^1.58.2",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^25.3.0",
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@vitejs/plugin-react": "^5.1.4",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"jsdom": "^28.1.0",
|
|
"typescript": "^5.5.4",
|
|
"vite": "^7.3.1",
|
|
"vitest": "^4.0.17"
|
|
}
|
|
}
|