mirror of
https://github.com/vee1e/subidx.git
synced 2026-09-01 09:50:18 +00:00
Move the Svelte dashboard out of internal/web into its own top-level frontend/ so it can be built and hosted independently, and make the subidx binary API-only: drop the embedded dist and the catch-all / handler, so unknown paths return a plain 404. The frontend already knew how to live apart (VITE_API_BASE, -cors-origins, vercel.json), so only the embed glue is gone. Also wire in Vercel Web Analytics via @vercel/analytics.
21 lines
444 B
JSON
21 lines
444 B
JSON
{
|
|
"name": "subidx-ui",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^6.0.0",
|
|
"svelte": "^5.0.0",
|
|
"svelte-check": "^4.1.0",
|
|
"typescript": "^5.7.0",
|
|
"vite": "^7.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vercel/analytics": "^2.0.1"
|
|
}
|
|
}
|