package.json 2.0 KB

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