-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.93 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.93 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
92
{
"name": "@hasna/mcps",
"version": "0.0.31",
"description": "Meta-MCP registry & CLI — discover, manage, and proxy MCP servers",
"keywords": [
"mcp",
"model-context-protocol",
"registry",
"cli"
],
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/hasna/mcps.git"
},
"homepage": "https://github.com/hasna/mcps#readme",
"bugs": {
"url": "https://github.com/hasna/mcps/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./mcp": {
"import": "./dist/mcp/index.js",
"types": "./dist/mcp/index.d.ts"
},
"./storage": {
"import": "./dist/storage.js",
"types": "./dist/storage.d.ts"
}
},
"bin": {
"mcps": "bin/index.js",
"mcps-mcp": "bin/mcp.js"
},
"files": [
"dist/",
"bin/",
"dashboard/dist/",
"LICENSE",
"README.md"
],
"scripts": {
"build": "rm -rf dist bin dashboard/dist && bun run build:dashboard && bun build ./src/cli/index.tsx --outdir ./bin --target bun --external ink --external react --external chalk --external pg && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun --external pg && bun run scripts/fix-shebangs.ts && bun build ./src/index.ts ./src/storage.ts --outdir ./dist --target bun --external pg && bun build ./src/mcp/index.ts --outdir ./dist/mcp --target bun --external pg && tsc --emitDeclarationOnly --declaration --outDir dist",
"build:dashboard": "cd dashboard && bun install && bun run build",
"dev": "bun run src/cli/index.tsx",
"dev:mcp": "bun run src/mcp/index.ts",
"dev:dashboard": "cd dashboard && bun run dev",
"serve": "bun run src/cli/index.tsx serve",
"test": "bun test",
"contract:check": "npx -y @hasna/contracts@0.8.5 repo-conformance .",
"artifact-scan": "bun scripts/no-cloud-artifact-scan.mjs",
"no-cloud:source": "bun test src/no-cloud-boundary.test.ts",
"no-cloud:pack": "bun run build && bun run artifact-scan",
"typecheck": "tsc --noEmit",
"prepack": "bun run build && bun run artifact-scan",
"prepublishOnly": "bun test && bun run build && bun run artifact-scan",
"postinstall": "mkdir -p $HOME/.hasna/mcps/cache 2>/dev/null || true"
},
"dependencies": {
"@hasna/events": "^0.1.6",
"@modelcontextprotocol/sdk": "^1.26.0",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"ink": "^5.0.1",
"ink-select-input": "^6.0.0",
"ink-spinner": "^5.0.0",
"ink-text-input": "^6.0.0",
"pg": "^8.22.0",
"react": "^18.2.0",
"zod": "^3.23.0"
},
"devDependencies": {
"@hasna/contracts": "0.8.5",
"@types/bun": "latest",
"@types/pg": "^8.20.0",
"@types/react": "^18.2.0",
"typescript": "^5"
},
"engines": {
"bun": ">=1.0.0"
},
"license": "Apache-2.0",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
}
}