add Vite-based app for example TypeScript application

This commit is contained in:
Brandon Liu
2022-05-02 16:37:41 +08:00
parent a006dc2600
commit a1753af6df
24 changed files with 3689 additions and 0 deletions

33
app/package.json Normal file
View File

@@ -0,0 +1,33 @@
{
"name": "docs",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"@mapbox/vector-tile": "^1.3.1",
"@radix-ui/react-label": "^0.1.5",
"@stitches/react": "^1.2.8",
"leaflet": "^1.8.0",
"maplibre-gl": "^2.1.9",
"pako": "^2.0.4",
"pbf": "^3.2.1",
"protomaps": "^1.19.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-dropzone": "^14.1.1"
},
"devDependencies": {
"@types/leaflet": "^1.7.9",
"@types/mapbox__vector-tile": "^1.3.0",
"@types/pbf": "^3.0.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^1.3.0",
"typescript": "^4.6.3",
"vite": "^2.9.5"
}
}