Files
buzz/web/package.json
Wes 13e07eba9c feat(web): add git browse backend and frontend (tree, commits, README)
Backend: Add ephemeral event synthesis for git browse kinds (20100-20103)
in synthesis.rs, with REST browse endpoints in browse.rs for tree listing,
blob content, commit log, and README. Hook synthesis into the bridge query
path so the web frontend can fetch git data via Nostr filters.

Frontend: Add RepoTreeSection, RepoCommitsSection, and RepoReadmeSection
components to the repo detail page. README renders as styled markdown via
react-markdown + remark-gfm. Add query-http.ts for NIP-98 authenticated
HTTP bridge queries and use-git-browse.ts hooks. Extract relativeTime
into shared utility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-12 11:41:29 -07:00

49 lines
1.4 KiB
JSON

{
"name": "sprout-web",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"typecheck": "tsc --noEmit",
"check:file-sizes": "node ./scripts/check-file-sizes.mjs",
"lint": "biome lint .",
"check": "biome check . && pnpm check:file-sizes",
"format": "biome format --write .",
"preview": "vite preview",
"test:e2e": "pnpm build && playwright test",
"test:e2e:smoke": "pnpm build && playwright test --project=smoke"
},
"dependencies": {
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tooltip": "^1.2.8",
"@tanstack/react-query": "^5.90.21",
"@tanstack/react-router": "^1.168.10",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.577.0",
"nostr-tools": "^2.23.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@tanstack/router-plugin": "^1.167.12",
"@tanstack/virtual-file-routes": "^1.161.7",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
"autoprefixer": "^10.4.27",
"postcss": "^8.5.8",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"typescript": "~5.9.0",
"vite": "^7.0.4"
}
}