mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
Vite + React SPA with 9 pages (Dashboard, Wallets, Vaults, Policies, Settlements, Bridge, Payments, Audit, Settings) served at /_/mpc/ via go:embed. Replaces the separate Next.js dashboard pod — the UI now ships inside the mpcd binary. Uses @tanstack/react-query, wouter hash router, dark theme, inline styles. Build output: 272KB.
24 lines
495 B
JSON
24 lines
495 B
JSON
{
|
|
"name": "@luxfi/mpc-ui",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"wouter": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"typescript": "^5.7.0",
|
|
"vite": "^6.0.0"
|
|
}
|
|
}
|