package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "@colbymchenry/codegraph",
  3. "version": "0.9.7",
  4. "description": "Supercharge Claude Code with semantic code intelligence. 94% fewer tool calls • 77% faster exploration • 100% local.",
  5. "main": "dist/index.js",
  6. "types": "dist/index.d.ts",
  7. "bin": {
  8. "codegraph": "./dist/bin/codegraph.js"
  9. },
  10. "files": [
  11. "dist",
  12. "scripts",
  13. "README.md"
  14. ],
  15. "scripts": {
  16. "build": "tsc && npm run copy-assets && node -e \"require('fs').chmodSync('dist/bin/codegraph.js', 0o755)\"",
  17. "preuninstall": "node dist/bin/uninstall.js",
  18. "copy-assets": "node -e \"const fs=require('fs');fs.mkdirSync('dist/db',{recursive:true});fs.copyFileSync('src/db/schema.sql','dist/db/schema.sql');fs.mkdirSync('dist/extraction/wasm',{recursive:true});fs.readdirSync('src/extraction/wasm').filter(f=>f.endsWith('.wasm')).forEach(f=>fs.copyFileSync('src/extraction/wasm/'+f,'dist/extraction/wasm/'+f))\"",
  19. "dev": "tsc --watch",
  20. "cli": "npm run build && node dist/bin/codegraph.js",
  21. "test": "vitest run",
  22. "test:watch": "vitest",
  23. "test:eval": "vitest run __tests__/evaluation/",
  24. "eval": "npm run build && npx tsx __tests__/evaluation/runner.ts",
  25. "clean": "node -e \"const fs=require('fs');fs.rmSync('dist',{recursive:true,force:true})\""
  26. },
  27. "keywords": [
  28. "code-intelligence",
  29. "knowledge-graph",
  30. "static-analysis"
  31. ],
  32. "author": "",
  33. "license": "MIT",
  34. "dependencies": {
  35. "@clack/prompts": "^1.3.0",
  36. "chokidar": "^4.0.3",
  37. "commander": "^14.0.2",
  38. "fast-string-width": "^3.0.2",
  39. "fast-wrap-ansi": "^0.2.0",
  40. "ignore": "^7.0.5",
  41. "jsonc-parser": "^3.3.1",
  42. "picomatch": "^4.0.3",
  43. "sisteransi": "^1.0.5",
  44. "tree-sitter-wasms": "^0.1.11",
  45. "web-tree-sitter": "^0.25.3"
  46. },
  47. "devDependencies": {
  48. "@types/better-sqlite3": "^7.6.0",
  49. "@types/node": "^20.19.30",
  50. "@types/picomatch": "^4.0.2",
  51. "typescript": "^5.0.0",
  52. "vitest": "^2.1.9"
  53. },
  54. "engines": {
  55. "node": ">=20.0.0 <25.0.0"
  56. }
  57. }