-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 4.13 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 4.13 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@bosonprotocol/chat-sdk",
"version": "1.4.6-alpha.0",
"description": "Extension of @xmtp/xmtp-js with support for chat threads and further message types.",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"bin": {
"boson-xmtp-mcp-server": "dist/mcp/server/server.js"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./common": {
"import": "./dist/common/index.js",
"types": "./dist/common/index.d.ts"
},
"./mcp/server": {
"import": "./dist/mcp/server/index.js",
"types": "./dist/mcp/server/index.d.ts"
},
"./mcp/client": {
"import": "./dist/mcp/client/index.js",
"types": "./dist/mcp/client/index.d.ts"
},
"./node": {
"import": "./dist/node/index.js",
"types": "./dist/node/index.d.ts"
},
"./browser": {
"import": "./dist/browser/index.js",
"types": "./dist/browser/index.d.ts"
}
},
"scripts": {
"postinstall": "npx playwright install",
"build": "rimraf dist && tsc --build tsconfig.json",
"watch": "rimraf dist && tsc --watch",
"clean": "rimraf dist coverage node_modules",
"lint": "eslint --ignore-path .gitignore --ext .js,.ts . --config .eslintrc.tests.cjs",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier --write .",
"test": "run-p test:browser test:node",
"test:browser": "vitest --config vite.config.mts",
"test:node": "vitest --config vite.config.node.mts",
"inspector": "npx @modelcontextprotocol/inspector",
"inspector:omit-auth": "DANGEROUSLY_OMIT_AUTH=true npx @modelcontextprotocol/inspector",
"start:mcp-server:stdio": "npx cross-env START=true node dist/mcp/server/index.js",
"start:mcp-server:http": "npx cross-env START=true node dist/mcp/server/index.js --http",
"dev:mcp-server:stdio": "npx cross-env START=true node --watch dist/mcp/server/index.js | npx @modelcontextprotocol/inspector --config mcpServer.json --server boson-xmtp-mcp-server-stdio",
"dev:mcp-server:http": "npx cross-env START=true node --watch dist/mcp/server/index.js --http | npx @modelcontextprotocol/inspector --config mcpServer.json --server boson-xmtp-mcp-server-http"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bosonprotocol/chat-sdk.git"
},
"author": "Boson Protocol",
"license": "Apache-2.0",
"files": [
"dist/*",
"src/*"
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"@bosonprotocol/common": "^1.31.0-alpha.11",
"@goat-sdk/core": "^0.5.0",
"@goat-sdk/wallet-evm": "^0.3.0",
"@modelcontextprotocol/sdk": "^1.17.5",
"@vitest/browser": "^3.1.1",
"@xmtp/browser-sdk": "^2.0.5",
"@xmtp/node-sdk": "^4.1.0",
"babel-plugin-transform-import-meta": "^2.3.2",
"ethers": "^5.7.2",
"playwright": "^1.51.1",
"valid-data-url": "^4.0.1",
"viem": "^2.26.5",
"zod": "^3.25.76"
},
"peerDependencies": {
"yup": "^1.5.0"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@tsconfig/node16": "^1.0.3",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.1",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"@vitest/web-worker": "^3.1.2",
"babel-jest": "^29.7.0",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"eslint": "^8.20.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-tsdoc": "^0.2.16",
"eslint-plugin-unused-imports": "^4.2.0",
"events": "^3.3.0",
"happy-dom": "^17.4.4",
"jest": "^29.3.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"rimraf": "^3.0.2",
"stream-browserify": "^3.0.0",
"typescript": "^5.8.3",
"vite": "^6.3.0",
"vite-plugin-node-polyfills": "^0.23.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.1"
},
"volta": {
"node": "20.19.0",
"npm": "8.11.0"
}
}