package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "@tobilu/qmd",
  3. "version": "1.1.5",
  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": "dist/qmd.js"
  16. },
  17. "files": [
  18. "dist/",
  19. "LICENSE",
  20. "CHANGELOG.md"
  21. ],
  22. "scripts": {
  23. "prepare": "[ -d .git ] && ./scripts/install-hooks.sh || true",
  24. "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",
  25. "test": "vitest run --reporter=verbose test/",
  26. "qmd": "tsx src/qmd.ts",
  27. "index": "tsx src/qmd.ts index",
  28. "vector": "tsx src/qmd.ts vector",
  29. "search": "tsx src/qmd.ts search",
  30. "vsearch": "tsx src/qmd.ts vsearch",
  31. "rerank": "tsx src/qmd.ts rerank",
  32. "inspector": "npx @modelcontextprotocol/inspector tsx src/qmd.ts mcp",
  33. "release": "./scripts/release.sh"
  34. },
  35. "publishConfig": {
  36. "access": "public"
  37. },
  38. "repository": {
  39. "type": "git",
  40. "url": "git+https://github.com/tobi/qmd.git"
  41. },
  42. "homepage": "https://github.com/tobi/qmd#readme",
  43. "bugs": {
  44. "url": "https://github.com/tobi/qmd/issues"
  45. },
  46. "dependencies": {
  47. "@modelcontextprotocol/sdk": "^1.25.1",
  48. "better-sqlite3": "^11.0.0",
  49. "fast-glob": "^3.3.0",
  50. "node-llama-cpp": "^3.17.1",
  51. "picomatch": "^4.0.0",
  52. "sqlite-vec": "^0.1.7-alpha.2",
  53. "yaml": "^2.8.2",
  54. "zod": "^4.2.1"
  55. },
  56. "optionalDependencies": {
  57. "sqlite-vec-darwin-arm64": "^0.1.7-alpha.2",
  58. "sqlite-vec-darwin-x64": "^0.1.7-alpha.2",
  59. "sqlite-vec-linux-arm64": "^0.1.7-alpha.2",
  60. "sqlite-vec-linux-x64": "^0.1.7-alpha.2",
  61. "sqlite-vec-windows-x64": "^0.1.7-alpha.2"
  62. },
  63. "devDependencies": {
  64. "@types/better-sqlite3": "^7.6.0",
  65. "tsx": "^4.0.0",
  66. "vitest": "^3.0.0"
  67. },
  68. "peerDependencies": {
  69. "typescript": "^5.9.3"
  70. },
  71. "engines": {
  72. "node": ">=22.0.0"
  73. },
  74. "keywords": [
  75. "markdown",
  76. "search",
  77. "fts",
  78. "full-text-search",
  79. "vector",
  80. "semantic-search",
  81. "sqlite",
  82. "bm25",
  83. "embeddings",
  84. "rag",
  85. "mcp",
  86. "reranking",
  87. "knowledge-base",
  88. "local-ai",
  89. "llm"
  90. ],
  91. "author": "Tobi Lutke <tobi@lutke.com>",
  92. "license": "MIT"
  93. }