fix iframe resizing (#19)
* reshuffle build / start scripts * fix resize logic * prettier * extract RESOURCE_URI_META_KEY constant * Update message-transport.ts * Update package.json
This commit is contained in:
parent
0e62ceca92
commit
3df49c38dc
1 changed files with 38 additions and 100 deletions
|
|
@ -23,7 +23,9 @@
|
|||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "cd examples/simple-host && npm i && npm start",
|
||||
"start:example-host": "cd examples/simple-host && npm --registry=https://registry.npmjs.org/ i && npm start",
|
||||
"start:example-mcp-server": "cd examples//simple-server && npm --registry=https://registry.npmjs.org/ install && npm start",
|
||||
"start": "NODE_ENV=development npm run build && concurrently 'npm run start:example-host' 'npm run start:example-mcp-server'",
|
||||
"build": "bun build.bun.ts",
|
||||
"prepare": "npm run build",
|
||||
"prettier:base-cmd": "prettier -u --ignore-path ./.gitignore --ignore-path ./.prettierignore",
|
||||
|
|
@ -36,15 +38,16 @@
|
|||
"@types/react-dom": "^19.2.2",
|
||||
"concurrently": "^9.2.1",
|
||||
"cors": "^2.8.5",
|
||||
"esbuild": "^0.25.12",
|
||||
"express": "^5.1.0",
|
||||
"prettier": "^3.6.2"
|
||||
"prettier": "^3.6.2",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.22.0",
|
||||
"bun": "^1.3.2",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0",
|
||||
"typescript": "5.7.2",
|
||||
"zod": "^3.25"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue