-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.46 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.46 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
{
"name": "mcp-from-openapi",
"version": "2.1.2",
"description": "Production-ready library for converting OpenAPI specifications into MCP tool definitions",
"author": "AgentFront <info@agentfront.dev>",
"license": "Apache-2.0",
"keywords": [
"mcp",
"model-context-protocol",
"openapi",
"swagger",
"api",
"rest",
"schema",
"json-schema",
"typescript",
"tool-generator",
"anthropic",
"claude"
],
"repository": {
"type": "git",
"url": "git+https://github.com/agentfront/mcp-from-openapi.git"
},
"bugs": {
"url": "https://github.com/agentfront/mcp-from-openapi/issues"
},
"homepage": "https://github.com/agentfront/mcp-from-openapi#readme",
"engines": {
"node": ">=20.0.0"
},
"type": "commonjs",
"main": "./dist/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/esm/index.mjs"
}
}
},
"scripts": {
"build:cjs": "esbuild src/index.ts --bundle --platform=node --format=cjs --outdir=dist --packages=external",
"build:esm": "esbuild src/index.ts --bundle --platform=node --format=esm --outdir=dist/esm --out-extension:.js=.mjs --packages=external",
"build:types": "tsc -p tsconfig.lib.json --emitDeclarationOnly",
"build": "yarn build:cjs && yarn build:esm && yarn build:types && cp package.json dist/ && node scripts/strip-dist-from-pkg.js dist/package.json && cp README.md LICENSE dist/",
"test": "jest",
"test:unit": "jest --testPathIgnorePatterns='integration'",
"test:integration": "jest --testPathPattern='integration'",
"test:coverage": "jest --coverage",
"clean": "rm -rf dist coverage",
"prepublishOnly": "yarn clean && yarn build && yarn test"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^15.3.5",
"openapi-types": "^12.1.3",
"yaml": "^2.8.3"
},
"peerDependencies": {
"zod": "^4.0.0"
},
"devDependencies": {
"@swc/core": "~1.5.7",
"@swc/helpers": "^0.5.18",
"@swc/jest": "~0.2.38",
"@types/jest": "^29.5.0",
"@types/json-schema": "^7.0.15",
"@types/node": "^24.0.0",
"esbuild": "^0.27.2",
"jest": "^29.7.0",
"tslib": "^2.8.1",
"typescript": "^5.0.0",
"zod": "^4.0.0"
}
}