Files
sower/web/package.json
T
wweir 1e87298d15 feat(admin): embedded admin console for rule management and traffic stats
- internal/admin: session-cookie auth server, rule CRUD API, bounded
  per-domain traffic stats with pre-parse byte accounting
- cmd/sower: wrap proxied connections and DNS queries into stats, serve the
  admin console on its own listener
- web/: Svelte 5 + Vite admin console with shadcn-svelte UI and an advanced
  breadcrumb header (section/context dropdowns, favorites), embedded via
  go:embed and committed to web/dist
- Makefile: sower build depends on the frontend build (bun); sowerd does not
- docs: ARCHITECTURE, README, and plan updated for the admin surface
2026-08-06 08:56:33 +08:00

33 lines
810 B
JSON

{
"name": "sower-admin-web",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@internationalized/date": "^3.12.0",
"@lucide/svelte": "^1.28.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"@tailwindcss/vite": "^4.3.3",
"@types/node": "^26.1.2",
"svelte": "^5.56.8",
"svelte-check": "^4.0.0",
"tailwindcss": "^4.3.3",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.5.0",
"vite": "^6.0.0"
},
"dependencies": {
"bits-ui": "^2.18.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-svelte": "^1.0.1",
"tailwind-merge": "^3.6.0",
"tailwind-variants": "^3.3.1"
}
}