package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. "@tree-sitter-grammars/tree-sitter-kotlin": "1.1.0",
  62. "sqlite-vec-darwin-arm64": "0.1.9",
  63. "sqlite-vec-darwin-x64": "0.1.9",
  64. "sqlite-vec-linux-arm64": "0.1.9",
  65. "sqlite-vec-linux-x64": "0.1.9",
  66. "sqlite-vec-windows-x64": "0.1.9",
  67. "tree-sitter-go": "0.23.4",
  68. "tree-sitter-java": "0.23.5",
  69. "tree-sitter-python": "0.23.4",
  70. "tree-sitter-rust": "0.24.0",
  71. "tree-sitter-typescript": "0.23.2"
  72. },
  73. "devDependencies": {
  74. "@types/better-sqlite3": "7.6.13",
  75. "tsx": "4.21.0",
  76. "vitest": "3.2.4"
  77. },
  78. "pnpm": {
  79. "onlyBuiltDependencies": [
  80. "@tree-sitter-grammars/tree-sitter-kotlin",
  81. "better-sqlite3",
  82. "esbuild",
  83. "node-llama-cpp",
  84. "tree-sitter-go",
  85. "tree-sitter-java",
  86. "tree-sitter-javascript",
  87. "tree-sitter-python",
  88. "tree-sitter-rust",
  89. "tree-sitter-typescript"
  90. ]
  91. },
  92. "peerDependencies": {
  93. "typescript": "^5.9.3"
  94. },
  95. "engines": {
  96. "node": ">=22.0.0"
  97. },
  98. "keywords": [
  99. "markdown",
  100. "search",
  101. "fts",
  102. "full-text-search",
  103. "vector",
  104. "semantic-search",
  105. "sqlite",
  106. "bm25",
  107. "embeddings",
  108. "rag",
  109. "mcp",
  110. "reranking",
  111. "knowledge-base",
  112. "local-ai",
  113. "llm"
  114. ],
  115. "author": "Tobi Lutke <tobi@lutke.com>",
  116. "license": "MIT"
  117. }