package.json 3.1 KB

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