Files
codegraph/package.json
T
Colby McHenryandClaude Opus 4.5 26f8f2f59f Fix next steps to use npx instead of global codegraph command
Users running via npx don't have the codegraph command installed
globally. Update installer message and README to use
npx @colbymchenry/codegraph init -i instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 15:18:47 -06:00

64 lines
1.8 KiB
JSON

{
"name": "@colbymchenry/codegraph",
"version": "0.2.3",
"description": "A local-first code intelligence system that builds a semantic knowledge graph from any codebase",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"codegraph": "./dist/bin/codegraph.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc && npm run copy-assets",
"copy-assets": "cp -r src/extraction/queries dist/extraction/ && cp src/db/schema.sql dist/db/",
"dev": "tsc --watch",
"cli": "npm run build && node dist/bin/codegraph.js",
"test": "vitest run",
"test:watch": "vitest",
"test:eval": "vitest run __tests__/evaluation/",
"eval": "npm run build && npx tsx __tests__/evaluation/runner.ts",
"clean": "rm -rf dist"
},
"keywords": [
"code-intelligence",
"knowledge-graph",
"static-analysis",
"semantic-search"
],
"author": "",
"license": "MIT",
"dependencies": {
"@xenova/transformers": "^2.17.0",
"figlet": "^1.8.0",
"better-sqlite3": "^11.0.0",
"commander": "^14.0.2",
"sqlite-vss": "^0.1.2",
"tree-sitter": "^0.22.4",
"tree-sitter-c": "^0.23.4",
"tree-sitter-c-sharp": "^0.23.1",
"tree-sitter-cpp": "^0.23.4",
"tree-sitter-go": "^0.23.4",
"tree-sitter-java": "^0.23.5",
"tree-sitter-javascript": "^0.23.1",
"tree-sitter-kotlin": "^0.3.8",
"tree-sitter-php": "^0.23.11",
"tree-sitter-python": "^0.23.6",
"tree-sitter-ruby": "^0.23.1",
"tree-sitter-rust": "^0.23.2",
"tree-sitter-swift": "^0.7.1",
"tree-sitter-typescript": "^0.23.2"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.0",
"@types/figlet": "^1.5.8",
"@types/node": "^20.19.30",
"typescript": "^5.0.0",
"vitest": "^2.0.0"
},
"engines": {
"node": ">=18.0.0"
}
}