package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "@tobilu/qmd",
  3. "version": "1.0.8",
  4. "description": "Query Markup Documents - On-device hybrid search for markdown files with BM25, vector search, and LLM reranking",
  5. "type": "module",
  6. "bin": {
  7. "qmd": "dist/qmd.js"
  8. },
  9. "files": [
  10. "dist/",
  11. "LICENSE",
  12. "CHANGELOG.md"
  13. ],
  14. "scripts": {
  15. "prepare": "[ -d .git ] && ./scripts/install-hooks.sh || true",
  16. "build": "tsc -p tsconfig.build.json && printf '#!/usr/bin/env node\n' | cat - dist/qmd.js > dist/qmd.tmp && mv dist/qmd.tmp dist/qmd.js && chmod +x dist/qmd.js",
  17. "test": "vitest run --reporter=verbose test/",
  18. "qmd": "tsx src/qmd.ts",
  19. "index": "tsx src/qmd.ts index",
  20. "vector": "tsx src/qmd.ts vector",
  21. "search": "tsx src/qmd.ts search",
  22. "vsearch": "tsx src/qmd.ts vsearch",
  23. "rerank": "tsx src/qmd.ts rerank",
  24. "inspector": "npx @modelcontextprotocol/inspector tsx src/qmd.ts mcp",
  25. "release": "./scripts/release.sh"
  26. },
  27. "publishConfig": {
  28. "access": "public"
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git+https://github.com/tobi/qmd.git"
  33. },
  34. "homepage": "https://github.com/tobi/qmd#readme",
  35. "bugs": {
  36. "url": "https://github.com/tobi/qmd/issues"
  37. },
  38. "dependencies": {
  39. "@modelcontextprotocol/sdk": "^1.25.1",
  40. "better-sqlite3": "^11.0.0",
  41. "fast-glob": "^3.3.0",
  42. "node-llama-cpp": "^3.14.5",
  43. "picomatch": "^4.0.0",
  44. "sqlite-vec": "^0.1.7-alpha.2",
  45. "yaml": "^2.8.2",
  46. "zod": "^4.2.1"
  47. },
  48. "optionalDependencies": {
  49. "sqlite-vec-darwin-arm64": "^0.1.7-alpha.2",
  50. "sqlite-vec-darwin-x64": "^0.1.7-alpha.2",
  51. "sqlite-vec-linux-x64": "^0.1.7-alpha.2",
  52. "sqlite-vec-win32-x64": "^0.1.7-alpha.2"
  53. },
  54. "devDependencies": {
  55. "@types/better-sqlite3": "^7.6.0",
  56. "tsx": "^4.0.0",
  57. "vitest": "^3.0.0"
  58. },
  59. "peerDependencies": {
  60. "typescript": "^5.9.3"
  61. },
  62. "engines": {
  63. "node": ">=22.0.0"
  64. },
  65. "keywords": [
  66. "markdown",
  67. "search",
  68. "fts",
  69. "full-text-search",
  70. "vector",
  71. "semantic-search",
  72. "sqlite",
  73. "bm25",
  74. "embeddings",
  75. "rag",
  76. "mcp",
  77. "reranking",
  78. "knowledge-base",
  79. "local-ai",
  80. "llm"
  81. ],
  82. "author": "Tobi Lutke <tobi@lutke.com>",
  83. "license": "MIT"
  84. }