package.json 2.9 KB

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