Some checks failed
Test Suite / test (push) Has been cancelled
- Introduced `/api/tmdb` and `/api/collection/missing-locations` endpoints to the backend for improved media management. - Added a new `get_media_by_country` function in the collection API to fetch media items based on country codes. - Updated configuration to allow overriding *arr base URLs via environment variables for better flexibility. - Enhanced frontend with a new `MissingLocations` component and integrated it into the routing structure. - Improved the `CollectionMap` component to handle country selection and display media items accordingly. - Added testing dependencies in `requirements.txt` and updated frontend configuration for testing support.
39 lines
895 B
JSON
39 lines
895 B
JSON
{
|
|
"name": "moviemap-frontend",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.20.0",
|
|
"leaflet": "^1.9.4",
|
|
"react-leaflet": "^4.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.43",
|
|
"@types/react-dom": "^18.2.17",
|
|
"@types/leaflet": "^1.9.8",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^5.0.8",
|
|
"vitest": "^1.0.4",
|
|
"@testing-library/react": "^14.1.2",
|
|
"@testing-library/jest-dom": "^6.1.5",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"jsdom": "^23.0.1"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui"
|
|
}
|
|
}
|
|
|