Files
tfm_ainventory/frontend/package.json
Daniel Bedeleanu 67709ca953 test: fix react 19 compatibility and create vitest configuration
- Upgrade @testing-library/react from ^14.0.0 to ^16.0.0 (supports React 19)
- Create vitest.config.ts with jsdom environment, v8 coverage, and 80% coverage thresholds
- Run clean npm install - 829 packages added successfully
- Vitest 1.6.1 verified and operational
2026-04-18 17:37:32 +00:00

46 lines
1.1 KiB
JSON

{
"name": "inventory-pwa",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"axios": "^1.15.0",
"clsx": "^2.1.1",
"dexie": "^4.4.2",
"html5-qrcode": "^2.3.8",
"lucide-react": "^0.446.0",
"next": "^15.0.0",
"next-pwa": "^5.6.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hot-toast": "^2.6.0",
"tailwind-merge": "^2.5.2",
"tesseract.js": "^7.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/ui": "^1.0.0",
"eslint": "^9",
"eslint-config-next": "15.0.0",
"jsdom": "^23.0.0",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5",
"vitest": "^1.0.0"
}
}