Skip to content

Commit a7fc66c

Browse files
committed
Add Ensemble-compatible library exports
1 parent fdab913 commit a7fc66c

3 files changed

Lines changed: 847 additions & 2 deletions

File tree

package.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,28 @@
11
{
22
"name": "mcp-openapi",
3-
"version": "0.1.0",
4-
"private": true,
3+
"version": "0.4.0",
54
"type": "module",
65
"description": "OpenAPI to MCP server bridge",
6+
"main": "./dist/index.js",
7+
"types": "./dist/index.d.ts",
8+
"exports": {
9+
".": {
10+
"types": "./dist/index.d.ts",
11+
"import": "./dist/index.js"
12+
}
13+
},
14+
"bin": {
15+
"mcp-openapi": "./dist/server.js"
16+
},
17+
"files": [
18+
"dist",
19+
"README.md"
20+
],
721
"scripts": {
822
"build": "tsc -p tsconfig.json",
923
"dev": "tsx src/server.ts",
1024
"start": "node dist/server.js",
25+
"prepare": "npm run build",
1126
"check": "tsc -p tsconfig.json --noEmit",
1227
"test": "tsx --test test/*.test.ts",
1328
"smoke": "npm run build && tsx scripts/smoke.ts"

0 commit comments

Comments
 (0)