Files
F-r-ldraledigplannerare/frontend/package.json
T
2026-06-14 09:58:30 +02:00

45 lines
1.5 KiB
JSON

{
"name": "foraldraledig-frontend",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "concurrently -k -n backend,web \"npm:dev:backend\" \"npm:dev:web\"",
"dev:backend": "cd ../backend && uv run uvicorn app.main:app --reload --port 8000",
"dev:web": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src tests --ext ts,tsx --max-warnings 0",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"login": "concurrently -k -n backend,web \"npm:login:backend\" \"npm:login:web\"",
"login:backend": "cd ../backend && APP_SCRAPER_ENABLED=true APP_SCRAPER_HEADLESS=true uv run uvicorn app.main:app --reload --port 8000",
"login:web": "vite --open /dev/fetch"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.27.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^2.1.6",
"concurrently": "^9.2.1",
"eslint": "^9.15.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"jsdom": "^25.0.1",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vitest": "^2.1.6"
}
}