From 60c3f5549094d118eb8c1553221951127f6a5078 Mon Sep 17 00:00:00 2001 From: Trinq2003 Date: Fri, 16 May 2025 17:30:21 +0700 Subject: [PATCH] Add build dependencies for YAML --- package.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2123c91..fa603a2 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "start": "node dist/index.js", "clean": "rimraf dist", "typecheck": "tsc --noEmit", - "build": "tsc && chmod 755 dist/index.js" + "build": "tsc && chmod 755 dist/index.js", + "dev": "ts-node src/index.ts" }, "keywords": [ "openapi", @@ -42,20 +43,26 @@ "dependencies": { "@apidevtools/swagger-parser": "^10.1.1", "commander": "^13.1.0", - "openapi-types": "^12.1.3" + "openapi-types": "^12.1.3", + "js-yaml": "^4.1.0" }, "devDependencies": { + "@types/js-yaml": "^4.0.9", "@types/node": "^22.15.2", "@typescript-eslint/eslint-plugin": "^8.31.0", "@typescript-eslint/parser": "^8.31.0", "eslint": "^9.25.1", "prettier": "^3.5.3", "rimraf": "^6.0.1", - "typescript": "^5.8.3" + "typescript": "^5.8.3", + "ts-node": "^10.9.2", + "@modelcontextprotocol/sdk": "^1.10.0", + "json-schema-to-zod": "^2.6.1", + "zod": "^3.24.3" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.10.0", "json-schema-to-zod": "^2.6.1", "zod": "^3.24.3" } -} +} \ No newline at end of file