Files
SubTracker/apps/web/package.json
SmileQWQ ca78052a0b feat: add web i18n with shared messages
- add vue-i18n to the web app and load zh-CN and en-US strings from the shared message catalog

- replace hardcoded UI copy across login, subscriptions, settings, calendar, statistics and supporting dialogs and utilities with translation keys

- send locale headers with API requests, reuse localized message helpers and cover the localized web flows with regression tests
2026-05-17 20:51:20 +08:00

42 lines
996 B
JSON

{
"name": "@subtracker/web",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"test": "vitest run",
"lint": "vue-tsc --noEmit"
},
"dependencies": {
"@subtracker/shared": "0.0.1",
"@tanstack/vue-query": "^5.74.9",
"@types/dompurify": "^3.0.5",
"@vicons/ionicons5": "^0.13.0",
"@vueuse/core": "^13.0.0",
"axios": "^1.8.4",
"dayjs": "^1.11.13",
"dompurify": "^3.4.2",
"echarts": "^5.6.0",
"marked": "^18.0.3",
"naive-ui": "^2.41.0",
"pinia": "^3.0.2",
"vue": "^3.5.13",
"vue-echarts": "^7.0.3",
"vue-i18n": "^11.4.2",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@types/node": "^22.14.1",
"@vitejs/plugin-vue": "^5.2.3",
"@vue/test-utils": "^2.4.6",
"jsdom": "^26.0.0",
"typescript": "^5.8.3",
"vite": "^6.2.6",
"vitest": "^3.1.1",
"vue-tsc": "^2.2.8"
}
}