- HTTP client (axios interceptors, token mgmt, typed APIs) - Pinia stores: token, user (login/logout), app (dark mode, sidebar) - globalConfig TS types + Window augmentation - Vue Router (hash history, auth guard) - Login/Home/Mine pages (Vant UI) - Vant integration + globalConfig dev script - Build passes (vue-tsc + vite)
37 lines
818 B
JSON
37 lines
818 B
JSON
{
|
|
"name": "yuto-water-h5",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@turf/turf": "^7.3.5",
|
|
"axios": "^1.18.0",
|
|
"crypto-js": "^4.2.0",
|
|
"dayjs": "^1.11.21",
|
|
"echarts": "^6.1.0",
|
|
"encryptlong": "^3.1.4",
|
|
"maplibre-gl": "^5.24.0",
|
|
"mitt": "^3.0.1",
|
|
"pinia": "^3.0.4",
|
|
"supercluster": "^8.0.1",
|
|
"uuid": "^14.0.0",
|
|
"vant": "^4.9.24",
|
|
"vue": "^3.5.34",
|
|
"vue-router": "^4.6.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.12.3",
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"@vue/tsconfig": "^0.9.1",
|
|
"sass-embedded": "^1.100.0",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.0.12",
|
|
"vue-tsc": "^3.2.8"
|
|
}
|
|
}
|