- Thurgau hourly traffic counts (data.tg.ch) refreshed every 6 h into a per-day JSON cache - Road geometry per station direction from swisstopo swissTLM3D; roundabout arms run outward from the roundabout centre - Leaflet map with animated vehicles by class, time controls and base map switcher (grey, colour, aerial) - Station panel with per-class counts and Chart.js charts - Start page with map tiles; traffic map at /verkehr/thurgau - Dockerfile and docker-compose, xUnit tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Claudio Schaad <c.schaad@pog.ch> Co-committed-by: Claudio Schaad <c.schaad@pog.ch>
31 lines
744 B
JSON
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"
|
|
}
|
|
}
|