- Add userService for profile and activity API calls - Create UserProfilePage with tabbed interface (overview, reports, events, activity) - Display user statistics (reports count, events count, impact score) - Implement personal contribution map showing all user report locations - Add activity timeline with different activity types - Enable profile editing for own profile (first name, last name, username) - Update UserProfile component to link to profile page - Add /profile/:userId route to App - Install react-leaflet for map integration - Requirements: 6.3, 6.4, 6.5
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "ocean-cleanup",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@clerk/clerk-react": "^5.55.0",
|
|
"@tanstack/react-query": "^5.90.9",
|
|
"date-fns": "^4.1.0",
|
|
"exifr": "^7.1.3",
|
|
"leaflet": "^1.9.4",
|
|
"leaflet.heat": "^0.2.0",
|
|
"leaflet.markercluster": "^1.5.3",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-leaflet": "^5.0.0",
|
|
"react-router-dom": "^7.9.6",
|
|
"recharts": "^3.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@tailwindcss/postcss": "^4.1.17",
|
|
"@types/leaflet": "^1.9.21",
|
|
"@types/leaflet.heat": "^0.2.5",
|
|
"@types/leaflet.markercluster": "^1.5.6",
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"@vitejs/plugin-react": "^5.1.0",
|
|
"autoprefixer": "^10.4.22",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"globals": "^16.5.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.17",
|
|
"vite": "^7.2.2"
|
|
}
|
|
}
|