package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "@tobilu/qmd",
  3. "version": "2.0.1",
  4. "description": "Query Markup Documents - On-device hybrid search for markdown files with BM25, vector search, and LLM reranking",
  5. "type": "module",
  6. "main": "dist/index.js",
  7. "types": "dist/index.d.ts",
  8. "exports": {
  9. ".": {
  10. "import": "./dist/index.js",
  11. "types": "./dist/index.d.ts"
  12. }
  13. },
  14. "bin": {
  15. "qmd": "bin/qmd"
  16. },
  17. "files": [
  18. "bin/",
  19. "dist/",
  20. "LICENSE",
  21. "CHANGELOG.md"
  22. ],
  23. "scripts": {
  24. "prepare": "[ -d .git ] && ./scripts/install-hooks.sh || true",
  25. "build": "tsc -p tsconfig.build.json && printf '#!/usr/bin/env node\n' | cat - dist/cli/qmd.js > dist/cli/qmd.tmp && mv dist/cli/qmd.tmp dist/cli/qmd.js && chmod +x dist/cli/qmd.js",
  26. "test": "vitest run --reporter=verbose test/",
  27. "qmd": "tsx src/cli/qmd.ts",
  28. "index": "tsx src/cli/qmd.ts index",
  29. "vector": "tsx src/cli/qmd.ts vector",
  30. "search": "tsx src/cli/qmd.ts search",
  31. "vsearch": "tsx src/cli/qmd.ts vsearch",
  32. "rerank": "tsx src/cli/qmd.ts rerank",
  33. "inspector": "npx @modelcontextprotocol/inspector tsx src/cli/qmd.ts mcp",
  34. "release": "./scripts/release.sh"
  35. },
  36. "publishConfig": {
  37. "access": "public"
  38. },
  39. "repository": {
  40. "type": "git",
  41. "url": "git+https://github.com/tobi/qmd.git"
  42. },
  43. "homepage": "https://github.com/tobi/qmd#readme",
  44. "bugs": {
  45. "url": "https://github.com/tobi/qmd/issues"
  46. },
  47. "dependencies": {
  48. "@modelcontextprotocol/sdk": "1.29.0",
  49. "better-sqlite3": "12.8.0",
  50. "fast-glob": "3.3.3",
  51. "node-llama-cpp": "3.18.1",
  52. "picomatch": "4.0.4",
  53. "sqlite-vec": "0.1.9",
  54. "web-tree-sitter": "0.26.7",
  55. "yaml": "2.8.3",
  56. "zod": "4.2.1"
  57. },
  58. "optionalDependencies": {
  59. "sqlite-vec-darwin-arm64": "0.1.9",
  60. "sqlite-vec-darwin-x64": "0.1.9",
  61. "sqlite-vec-linux-arm64": "0.1.9",
  62. "sqlite-vec-linux-x64": "0.1.9",
  63. "sqlite-vec-windows-x64": "0.1.9",
  64. "tree-sitter-go": "0.23.4",
  65. "tree-sitter-python": "0.23.4",
  66. "tree-sitter-rust": "0.24.0",
  67. "tree-sitter-typescript": "0.23.2"
  68. },
  69. "devDependencies": {
  70. "@types/better-sqlite3": "7.6.13",
  71. "tsx": "4.21.0",
  72. "vitest": "3.2.4"
  73. },
  74. "pnpm": {
  75. "onlyBuiltDependencies": [
  76. "better-sqlite3",
  77. "esbuild",
  78. "node-llama-cpp",
  79. "tree-sitter-go",
  80. "tree-sitter-javascript",
  81. "tree-sitter-python",
  82. "tree-sitter-rust",
  83. "tree-sitter-typescript"
  84. ]
  85. },
  86. "peerDependencies": {
  87. "typescript": "^5.9.3"
  88. },
  89. "engines": {
  90. "node": ">=22.0.0"
  91. },
  92. "keywords": [
  93. "markdown",
  94. "search",
  95. "fts",
  96. "full-text-search",
  97. "vector",
  98. "semantic-search",
  99. "sqlite",
  100. "bm25",
  101. "embeddings",
  102. "rag",
  103. "mcp",
  104. "reranking",
  105. "knowledge-base",
  106. "local-ai",
  107. "llm"
  108. ],
  109. "author": "Tobi Lutke <tobi@lutke.com>",
  110. "license": "MIT"
  111. }