Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 2.89 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 2.89 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
{
"name": "@nanonets/graft",
"version": "0.26.0",
"description": "Build a repo's context graph as a folder of linked markdown files: a local, regenerable cache that every query keeps in sync with your code.",
"keywords": [
"ai",
"agents",
"knowledge-graph",
"context",
"codebase",
"llm",
"graft"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/trailhq/Trail-Code.git"
},
"homepage": "https://github.com/trailhq/Trail-Code#readme",
"bugs": {
"url": "https://github.com/trailhq/Trail-Code/issues"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"bin": {
"graft": "dist/bin/graft.js"
},
"files": [
"dist",
"scripts",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc -p tsconfig.json && tsc -p viewer/tsconfig.json && node scripts/build-viewer.mjs && node scripts/vendor-grammars.mjs",
"dev": "tsc -p tsconfig.json --watch",
"cli": "tsx src/cli.ts",
"test": "node scripts/run-tests.mjs",
"prepare": "npm run build && node scripts/stamp-telemetry-key.mjs",
"prepublishOnly": "npm run build",
"postinstall": "node scripts/postinstall.mjs"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.133.0",
"commander": "^15.0.0",
"dotenv": "^18.0.7",
"gray-matter": "^4.0.3",
"openai": "^7.8.0",
"tree-sitter": "^0.21.1",
"tree-sitter-go": "^0.23.4",
"tree-sitter-java": "^0.23.5",
"tree-sitter-kotlin": "^0.3.8",
"tree-sitter-php": "^0.23.4",
"tree-sitter-python": "^0.21.0",
"tree-sitter-r": "npm:@davisvaughan/tree-sitter-r@^1.3.0",
"tree-sitter-typescript": "^0.23.2",
"tree-sitter-wasm": "^2.0.4",
"vscode-jsonrpc": "^8.2.1",
"vscode-languageserver-protocol": "^3.18.2",
"web-tree-sitter": "^0.27.1"
},
"devDependencies": {
"@types/d3-force": "^3.0.10",
"@types/node": "^26.1.0",
"d3-force": "^3.0.0",
"esbuild": "^0.28.1",
"node-gyp": "^12.4.0",
"tree-sitter-swift": "^0.7.1",
"tsx": "^4.22.4",
"typescript": "^6.0.3"
},
"allowScripts": {
"tree-sitter@0.21.1": true,
"tree-sitter-typescript@0.23.2": true,
"tree-sitter-python@0.21.0": true,
"tree-sitter-go@0.23.4": true,
"tree-sitter-javascript@0.23.1": true,
"tree-sitter-java@0.23.5": true,
"esbuild@0.28.2": true,
"fsevents@2.3.3": true,
"tree-sitter-kotlin@0.3.8": true,
"tree-sitter-php@0.23.12": true,
"@davisvaughan/tree-sitter-r@1.3.0": true,
"tree-sitter-swift@0.7.1": true
},
"overrides": {
"tree-sitter-swift": {
"tree-sitter": "$tree-sitter"
},
"js-yaml": {
"argparse": "^2.0.1"
}
}
}