OpenDataVisualizer/client/package.json
Claudio Schaad d7401b63cd Add start page with tiles for the available maps
The app will show several maps and datasets, so it now opens on a
start page with one large tile per map instead of the traffic map.

- Routing with react-router-dom: "/" is the start page, the Thurgau
  traffic map moved to "/verkehr/thurgau" (pages/TrafficThurgauPage)
- Map registry in src/maps.ts drives the tiles (title, region,
  description, tags, source, preview image)
- SVG preview illustration for the traffic map tile
- Traffic map header links back to the start page; page titles set
  per page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 20:50:55 +01:00

31 lines
744 B
JSON

{
"name": "opendatavisualizer-client",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"typecheck": "tsc",
"format": "prettier --write src",
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.51.23",
"chart.js": "^4.4.4",
"leaflet": "^1.9.4",
"react": "^18.3.1",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.6"
},
"devDependencies": {
"@types/leaflet": "^1.9.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"vite": "^6.4.3"
}
}