-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.57 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "md-anything",
"version": "0.2.1",
"description": "Local-first Markdown conversion for files, webpages, and media — CLI and MCP",
"type": "module",
"keywords": [
"markdown",
"converter",
"pdf",
"epub",
"youtube",
"ocr",
"mcp",
"cli",
"bun"
],
"homepage": "https://github.com/ojspace/md-anything",
"repository": {
"type": "git",
"url": "git+https://github.com/ojspace/md-anything.git"
},
"license": "MIT",
"engines": {
"bun": ">=1.0"
},
"files": [
"dist/cli.js",
"dist/mcp.js",
"src/",
"README.md",
"LICENSE",
"SKILL.md",
".claude-plugin/"
],
"bin": {
"mda": "dist/cli.js",
"md-anything": "dist/cli.js",
"md-anything-mcp": "dist/mcp.js"
},
"exports": {
".": "./src/core/convert.ts"
},
"scripts": {
"dev": "bun run src/cli.ts",
"mcp": "bun run src/mcp.ts",
"build": "bun -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true });\" && bun build src/cli.ts src/mcp.ts --outdir dist --target bun",
"build:bin:macos-arm": "bun build --compile --target=bun-darwin-arm64 src/cli.ts --outfile dist/binaries/mda-macos-arm64",
"build:bin:macos-x64": "bun build --compile --target=bun-darwin-x64 src/cli.ts --outfile dist/binaries/mda-macos-x64",
"build:bin:linux-x64": "bun build --compile --target=bun-linux-x64 src/cli.ts --outfile dist/binaries/mda-linux-x64",
"build:bin:windows-x64": "bun build --compile --target=bun-windows-x64 src/cli.ts --outfile dist/binaries/mda-windows-x64.exe",
"build:bin": "mkdir -p dist/binaries && bun run build:bin:macos-arm && bun run build:bin:macos-x64 && bun run build:bin:linux-x64 && bun run build:bin:windows-x64",
"prepublishOnly": "bun run build && bun run lint && bun run test:required",
"test": "bun test",
"test:required": "bun test tests/unit tests/integration/cli-json.test.ts tests/integration/cli-ux.test.ts tests/integration/convert-text.test.ts tests/integration/convert-image.test.ts tests/integration/ingest.test.ts tests/integration/url-fallback.test.ts tests/integration/usefulness-metadata.test.ts tests/integration/youtube-fallback.test.ts",
"test:live": "LIVE_TESTS=1 bun test tests/integration/youtube-live.test.ts tests/integration/url-live.test.ts",
"test:fixtures": "bun run scripts/bootstrap-fixtures.ts",
"doctor": "bun run src/cli.ts doctor",
"lint": "bunx tsc --noEmit"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"unpdf": "^1.4.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/bun": "latest"
}
}