qmd/package.json
Tobi Lutke 529e989d83
Refactor: Move TypeScript source files to src/ directory
Move all .ts files to src/ to clean up the project root:
- Created src/ directory and moved all TypeScript source and test files
- Updated qmd shell wrapper to point to src/qmd.ts
- Updated package.json scripts to use src/ paths
- Updated documentation (CLAUDE.md, README.md) to reflect new structure
- All imports remain relative within src/, no changes needed
- Tests pass with same results (192 pass, 75 fail - existing issues)

This improves project organization and makes the root directory cleaner.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-12 17:12:09 -05:00

52 lines
1.2 KiB
JSON

{
"name": "qmd",
"version": "1.0.0",
"description": "Quick Markdown Search - Full-text and vector search for markdown files",
"type": "module",
"bin": {
"qmd": "./qmd"
},
"scripts": {
"test": "bun test",
"qmd": "bun src/qmd.ts",
"index": "bun src/qmd.ts index",
"vector": "bun src/qmd.ts vector",
"search": "bun src/qmd.ts search",
"vsearch": "bun src/qmd.ts vsearch",
"rerank": "bun src/qmd.ts rerank",
"link": "bun link",
"inspector": "npx @modelcontextprotocol/inspector bun src/qmd.ts mcp"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.24.3",
"sqlite-vec": "^0.1.7-alpha.2",
"zod": "^4.1.13"
},
"optionalDependencies": {
"sqlite-vec-darwin-arm64": "^0.1.7-alpha.2",
"sqlite-vec-darwin-x64": "^0.1.7-alpha.2",
"sqlite-vec-linux-x64": "^0.1.7-alpha.2",
"sqlite-vec-win32-x64": "^0.1.7-alpha.2"
},
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5"
},
"engines": {
"bun": ">=1.0.0"
},
"keywords": [
"markdown",
"search",
"fts",
"vector",
"sqlite",
"bm25",
"embeddings",
"ollama"
],
"license": "MIT"
}