package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.25.1",
  49. "better-sqlite3": "^12.4.5",
  50. "fast-glob": "^3.3.0",
  51. "node-llama-cpp": "^3.17.1",
  52. "picomatch": "^4.0.0",
  53. "sqlite-vec": "^0.1.7-alpha.2",
  54. "yaml": "^2.8.2",
  55. "zod": "4.2.1"
  56. },
  57. "optionalDependencies": {
  58. "sqlite-vec-darwin-arm64": "^0.1.7-alpha.2",
  59. "sqlite-vec-darwin-x64": "^0.1.7-alpha.2",
  60. "sqlite-vec-linux-arm64": "^0.1.7-alpha.2",
  61. "sqlite-vec-linux-x64": "^0.1.7-alpha.2",
  62. "sqlite-vec-windows-x64": "^0.1.7-alpha.2"
  63. },
  64. "devDependencies": {
  65. "@types/better-sqlite3": "^7.6.0",
  66. "tsx": "^4.0.0",
  67. "vitest": "^3.0.0"
  68. },
  69. "peerDependencies": {
  70. "typescript": "^5.9.3"
  71. },
  72. "engines": {
  73. "node": ">=22.0.0"
  74. },
  75. "keywords": [
  76. "markdown",
  77. "search",
  78. "fts",
  79. "full-text-search",
  80. "vector",
  81. "semantic-search",
  82. "sqlite",
  83. "bm25",
  84. "embeddings",
  85. "rag",
  86. "mcp",
  87. "reranking",
  88. "knowledge-base",
  89. "local-ai",
  90. "llm"
  91. ],
  92. "author": "Tobi Lutke <tobi@lutke.com>",
  93. "license": "MIT"
  94. }