-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.95 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 2.95 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
{
"name": "@optave/codegraph",
"version": "3.0.4",
"description": "Local code graph CLI — parse codebases with tree-sitter, build dependency graphs, query them",
"type": "module",
"main": "src/index.js",
"exports": {
".": {
"import": "./src/index.js"
},
"./package.json": "./package.json"
},
"bin": {
"codegraph": "./src/cli.js"
},
"files": [
"src/",
"grammars/",
"LICENSE",
"README.md"
],
"engines": {
"node": ">=20"
},
"scripts": {
"build:wasm": "node scripts/build-wasm.js",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "biome check src/ tests/",
"lint:fix": "biome check --write src/ tests/",
"format": "biome format --write src/ tests/",
"prepare": "npm run build:wasm && husky && npm run deps:tree",
"deps:tree": "node scripts/gen-deps.cjs",
"release": "commit-and-tag-version",
"release:dry-run": "commit-and-tag-version --dry-run",
"version": "node scripts/sync-native-versions.js && git add package.json"
},
"keywords": [
"codegraph",
"dependency-graph",
"code-analysis",
"tree-sitter",
"static-analysis",
"call-graph",
"impact-analysis",
"mcp"
],
"repository": {
"type": "git",
"url": "https://github.com/optave/codegraph.git"
},
"bugs": {
"url": "https://github.com/optave/codegraph/issues"
},
"homepage": "https://github.com/optave/codegraph#readme",
"dependencies": {
"better-sqlite3": "^12.6.2",
"commander": "^14.0.3",
"graphology": "^0.26.0",
"graphology-communities-louvain": "^2.0.2",
"web-tree-sitter": "^0.26.5"
},
"peerDependencies": {
"@huggingface/transformers": "^3.8.1"
},
"peerDependenciesMeta": {
"@huggingface/transformers": {
"optional": true
}
},
"optionalDependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"@optave/codegraph-darwin-arm64": "3.0.4",
"@optave/codegraph-darwin-x64": "3.0.4",
"@optave/codegraph-linux-arm64-gnu": "3.0.4",
"@optave/codegraph-linux-arm64-musl": "3.0.4",
"@optave/codegraph-linux-x64-gnu": "3.0.4",
"@optave/codegraph-linux-x64-musl": "3.0.4",
"@optave/codegraph-win32-x64-msvc": "3.0.4"
},
"devDependencies": {
"@biomejs/biome": "^2.4.4",
"@commitlint/cli": "^20.4",
"@commitlint/config-conventional": "^20.0",
"@huggingface/transformers": "^3.8.1",
"@tree-sitter-grammars/tree-sitter-hcl": "^1.2.0",
"@vitest/coverage-v8": "^4.0.18",
"commit-and-tag-version": "^12.5",
"husky": "^9.1",
"tree-sitter-c-sharp": "^0.23.1",
"tree-sitter-cli": "^0.26.5",
"tree-sitter-go": "^0.23.4",
"tree-sitter-java": "^0.23.5",
"tree-sitter-javascript": "^0.25.0",
"tree-sitter-php": "^0.24.2",
"tree-sitter-python": "^0.25.0",
"tree-sitter-ruby": "^0.23.1",
"tree-sitter-rust": "^0.24.0",
"tree-sitter-typescript": "^0.23.2",
"vitest": "^4.0.18"
},
"license": "Apache-2.0"
}