package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "@colbymchenry/codegraph",
  3. "version": "0.7.2",
  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",
  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.2.0",
  36. "commander": "^14.0.2",
  37. "node-sqlite3-wasm": "^0.8.30",
  38. "picomatch": "^4.0.3",
  39. "tree-sitter-wasms": "^0.1.11",
  40. "web-tree-sitter": "^0.25.3"
  41. },
  42. "devDependencies": {
  43. "@types/better-sqlite3": "^7.6.0",
  44. "@types/node": "^20.19.30",
  45. "@types/picomatch": "^4.0.2",
  46. "typescript": "^5.0.0",
  47. "vitest": "^2.1.9"
  48. },
  49. "optionalDependencies": {
  50. "better-sqlite3": "^11.0.0"
  51. },
  52. "engines": {
  53. "node": ">=18.0.0 <25.0.0"
  54. }
  55. }