-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.58 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.58 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@g-cqd/apple-docs",
"version": "1.0.0",
"description": "Apple Developer Documentation CLI and MCP server — search, read, and browse Apple docs locally",
"type": "module",
"bin": {
"apple-docs": "./cli.js",
"apple-docs-mcp": "./index.js"
},
"files": [
"cli.js",
"index.js",
"src/",
"README.md",
"LICENSE"
],
"engines": {
"bun": ">=1.1.0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/g-cqd/apple-docs.git"
},
"keywords": [
"apple",
"documentation",
"mcp",
"swift",
"swiftui",
"developer",
"xcode"
],
"license": "MIT",
"scripts": {
"test": "bun test --isolate",
"bench": "bun test/benchmarks/search-bench.js --record && bun test/benchmarks/highlight-bench.js --record && bun test/benchmarks/pipeline-bench.js --record && bun test/benchmarks/seed-bench.js --record",
"bench:search-real": "bun test/benchmarks/search-real-bench.js --mode api --concurrency 1,2,4,8,16 --iterations 200",
"bench:mixed": "bun test/benchmarks/search-mixed-bench.js --concurrency 1,4,8,16 --iterations 100",
"perf:cpu": "mkdir -p reports/profiles && bun --cpu-prof --cpu-prof-dir reports/profiles",
"perf:heap": "mkdir -p reports/profiles && bun --heap-prof --heap-prof-dir reports/profiles",
"test:coverage": "bun test --coverage --isolate",
"start": "bun run index.js",
"eval:search": "bun scripts/eval-search.js",
"typecheck": "bun x tsc --noEmit",
"lint": "biome check --diagnostic-level=error ./src ./test ./cli.js ./index.js",
"lint:web": "biome check --diagnostic-level=error ./src/web/",
"lint:unused": "bunx knip",
"lint:unused:fix": "bunx knip --fix",
"lint:duplication": "bunx jscpd src/ cli.js index.js",
"lint:size": "bun scripts/check-file-size.js",
"test:web": "bun test --isolate test/unit/web/",
"audit": "bun run lint && bun run typecheck && bun run lint:unused && bun run lint:duplication && bun run lint:size && bun run test:coverage",
"audit:report": "mkdir -p reports && bun run lint && bun run typecheck && bunx knip --reporter json > reports/knip.json; bunx jscpd src/ cli.js index.js; bun run test:coverage",
"ci": "bun run lint && bun run typecheck && bun test --isolate",
"build:cli": "mkdir -p dist && bun build --compile --minify --sourcemap --target=bun-darwin-arm64 cli.js --outfile dist/apple-docs",
"build:cli:all": "mkdir -p dist && bun build --compile --minify --sourcemap --target=bun-darwin-arm64 cli.js --outfile dist/apple-docs-darwin-arm64 && bun build --compile --minify --sourcemap --target=bun-linux-x64 cli.js --outfile dist/apple-docs-linux-x64 && bun build --compile --minify --sourcemap --target=bun-linux-arm64 cli.js --outfile dist/apple-docs-linux-arm64",
"dev:setup": "bun scripts/dev-setup.js",
"docs:dev": "bunx vitepress dev docs",
"docs:build": "bunx vitepress build docs",
"docs:preview": "bunx vitepress preview docs"
},
"devDependencies": {
"@biomejs/biome": "^2.4.15",
"@types/bun": "^1.3.14",
"jscpd": "^5.0.4",
"knip": "^6.14.2",
"mermaid": "^11.15.0",
"playwright": "^1.60.0",
"typescript": "^6.0.3",
"vitepress": "^1.6.4",
"vitepress-plugin-mermaid": "^2.0.17"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"shiki": "^4.1.0"
},
"overrides": {
"fast-uri": "^3.1.2",
"hono": "^4.12.21",
"ip-address": "^10.2.0",
"qs": "^6.15.2",
"brace-expansion": "^5.0.6",
"vite": "^8.0.0"
},
"optionalDependencies": {
"@huggingface/transformers": "^4.2.0"
}
}