-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.31 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "git-graph",
"private": true,
"version": "0.1.0",
"type": "module",
"license": "MIT",
"description": "Local git commit-graph viewer — browse your repositories' history in the browser",
"homepage": "https://github.com/binaryplease/git-graph",
"repository": {
"type": "git",
"url": "git+https://github.com/binaryplease/git-graph.git"
},
"bugs": "https://github.com/binaryplease/git-graph/issues",
"//bin": "The single on-demand executable (ADR-0011). `bgg` serves a directory's git repositories in the browser; the Nix package (flake.nix) installs it plus a spelled-out `git-graph` alias.",
"bin": {
"bgg": "./dist/server/cli.js"
},
"//exports": "Render layer as embeddable subpaths (ADR-0027: the invariant — renderer + schema + layout — is the unit of sharing). A host (nightshift-ui) maps these over a Vite source-alias, the pattern binp-file-explorer's ./mount uses. Stays private: true — source-aliased, never published.",
"exports": {
"./components": "./src/components/index.ts",
"./shared": "./shared/index.ts",
"./highlighter": "./src/lib/highlighter.ts",
"./theme.css": "./src/theme.css"
},
"scripts": {
"dev": "bun scripts/dev.ts",
"dev:ports": "bun scripts/dev-ports.ts",
"dev:server": "bun --watch server/index.ts",
"dev:client": "bunx vite",
"cli": "bun server/cli.ts",
"build": "bunx vite build && NODE_ENV=production bun build server/index.ts server/cli.ts --outdir dist/server --target bun --sourcemap=linked --production",
"start": "NODE_ENV=production bun dist/server/index.js",
"typecheck": "bunx tsc --noEmit",
"test": "bun test"
},
"dependencies": {
"@elysiajs/openapi": "^1.4.15",
"@git-diff-view/react": "0.1.7",
"@git-diff-view/shiki": "0.1.7",
"@tabler/icons-react": "^3.44.0",
"elysia": "^1.4.28",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"tailwindcss": "^4.2.0",
"zod": "^3.24.0"
},
"devDependencies": {
"@happy-dom/global-registrator": "^20.11.0",
"@tailwindcss/vite": "^4.2.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/bun": "^1.3.9",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"concurrently": "^9.0",
"typescript": "^5.7",
"vite": "^8.0.9"
}
}