-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 5.41 KB
/
package.json
File metadata and controls
144 lines (144 loc) · 5.41 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "@git-stunts/git-warp",
"version": "13.1.0",
"description": "Deterministic WARP graph over Git: graph-native storage, traversal, and tooling.",
"type": "module",
"license": "Apache-2.0",
"author": "James Ross <james@flyingrobots.dev>",
"repository": {
"type": "git",
"url": "git+https://github.com/git-stunts/git-warp.git"
},
"homepage": "https://github.com/git-stunts/git-warp#readme",
"bugs": {
"url": "https://github.com/git-stunts/git-warp/issues"
},
"engines": {
"node": ">=22.0.0"
},
"sideEffects": false,
"main": "./index.js",
"types": "./index.d.ts",
"bin": {
"warp-graph": "./bin/warp-graph.js",
"git-warp": "./bin/git-warp"
},
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js",
"default": "./index.js"
},
"./node": {
"types": "./index.d.ts",
"import": "./src/domain/entities/GraphNode.js",
"default": "./src/domain/entities/GraphNode.js"
},
"./visualization": {
"import": "./src/visualization/index.js",
"default": "./src/visualization/index.js"
},
"./package.json": "./package.json"
},
"files": [
"bin/warp-graph.js",
"bin/presenters",
"bin/cli",
"bin/git-warp",
"src",
"index.js",
"index.d.ts",
"README.md",
"LICENSE",
"NOTICE",
"SECURITY.md",
"scripts/install-git-warp.sh",
"scripts/uninstall-git-warp.sh"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "eslint .",
"lint:links": "lychee --config .lychee.toml '**/*.md'",
"format": "prettier --write .",
"test": "sh -c 'if [ \"$GIT_STUNTS_DOCKER\" = \"1\" ]; then vitest run test/unit \"$@\"; else docker compose run --build --rm test npm run test:local -- \"$@\"; fi' --",
"test:local": "vitest run test/unit",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage test/unit",
"benchmark": "sh -c 'if [ \"$GIT_STUNTS_DOCKER\" = \"1\" ]; then vitest bench --run test/benchmark \"$@\"; else docker compose run --build --rm test npm run benchmark:local -- \"$@\"; fi' --",
"benchmark:local": "vitest bench --run test/benchmark",
"demo": "cd examples && docker compose up -d && docker compose exec demo bash",
"demo:setup": "cd examples && docker compose up -d && docker compose exec demo sh -c 'cd /app && npm install --silent && cd /demo && node /app/examples/scripts/setup.js'",
"demo:explore": "cd examples && docker compose exec demo node /app/examples/scripts/explore.js",
"demo:inspect": "cd examples && docker compose exec demo node /app/examples/scripts/inspect-index.js",
"demo:lagrangian": "cd examples && docker compose exec demo node /app/examples/scripts/lagrangian-path.js",
"demo:bench-streaming": "cd examples && docker compose up -d && docker compose exec demo node /app/examples/scripts/streaming-benchmark.js",
"demo:bench-traversal": "cd examples && docker compose up -d && docker compose exec demo node /app/examples/scripts/traversal-benchmark.js",
"demo:down": "cd examples && docker compose down -v",
"setup:hooks": "node scripts/setup-hooks.js",
"prepare": "patch-package && node scripts/setup-hooks.js",
"prepack": "npm run lint && npm run test:local && npm run typecheck:consumer",
"release:preflight": "bash scripts/release-preflight.sh",
"install:git-warp": "bash scripts/install-git-warp.sh",
"uninstall:git-warp": "bash scripts/uninstall-git-warp.sh",
"test:node20": "docker compose -f docker-compose.test.yml --profile node20 run --build --rm test-node20",
"test:node22": "docker compose -f docker-compose.test.yml --profile node22 run --build --rm test-node22",
"test:bun": "docker compose -f docker-compose.test.yml --profile bun run --build --rm test-bun",
"test:deno": "docker compose -f docker-compose.test.yml --profile deno run --build --rm test-deno",
"test:matrix": "docker compose -f docker-compose.test.yml --profile full up --build --abort-on-container-exit",
"typecheck": "tsc --noEmit",
"typecheck:src": "tsc --noEmit -p tsconfig.src.json",
"typecheck:test": "tsc --noEmit -p tsconfig.test.json",
"typecheck:consumer": "tsc --noEmit -p test/type-check/tsconfig.json",
"typecheck:policy": "node scripts/ts-policy-check.js",
"typecheck:surface": "node scripts/check-dts-surface.js"
},
"dependencies": {
"@git-stunts/alfred": "^0.4.0",
"@git-stunts/git-cas": "^3.0.0",
"@git-stunts/plumbing": "^2.8.0",
"@git-stunts/trailer-codec": "^2.1.1",
"boxen": "^7.1.1",
"cbor-x": "^1.6.0",
"chalk": "^5.3.0",
"cli-table3": "^0.6.3",
"elkjs": "^0.11.0",
"figures": "^6.0.1",
"roaring": "^2.7.0",
"roaring-wasm": "^1.1.0",
"string-width": "^7.1.0",
"wrap-ansi": "^9.0.0",
"zod": "3.24.1"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@git-stunts/docker-guard": "^0.1.0",
"@types/node": "^22.15.29",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"eslint": "^9.17.0",
"fast-check": "^4.5.3",
"patch-package": "^8.0.0",
"prettier": "^3.4.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0",
"vitest": "^4.0.18"
},
"keywords": [
"git",
"git-stunts",
"warp",
"graph",
"graph-database",
"dag",
"merkle",
"commit-graph",
"content-addressable",
"hexagonal",
"ddd",
"invisible-storage",
"empty-tree"
],
"packageManager": "npm@10"
}