forked from paiml/rust-mcp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.36 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 1.36 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
{
"name": "@pmcp/widget-runtime",
"version": "1.0.0",
"description": "MCP Widget Runtime - Universal bridge API for MCP widgets",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"src"
],
"sideEffects": false,
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean --external react && tsup src/browser.ts --format esm --dts --no-splitting --outDir dist/browser",
"build:copy": "cp dist/browser/browser.mjs ../../crates/mcp-preview/assets/widget-runtime.mjs",
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
"lint": "eslint src --ext .ts",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
},
"keywords": [
"mcp",
"widget",
"chatgpt",
"openai",
"runtime",
"bridge"
],
"author": "PMCP SDK",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/guyernest/pmcp-sdk"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"eslint": "^8.0.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0",
"vitest": "^1.0.0"
},
"peerDependencies": {},
"engines": {
"node": ">=18.0.0"
}
}