From 8fe389772350461f99ce0b8951e8a2fcbb27c34c Mon Sep 17 00:00:00 2001 From: Dawn <2439646234@qq.com> Date: Tue, 1 Apr 2025 04:38:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 7 ++++--- tsconfig.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 189c59a..e07ad53 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@hula-spark/hula-mcp-server", + "name": "@hula-spark/hula-mcp", "version": "1.0.0", "description": "HuLa 即时通讯应用的 MCP 服务", "type": "module", @@ -10,7 +10,7 @@ "node": ">=18.0.0" }, "bin": { - "hula-mcp": "dist/cli.js" + "hula-mcp": "bin/hula-mcp.js" }, "files": [ "dist", @@ -22,7 +22,8 @@ "start": "node dist/index.js", "dev": "tsx watch src/index.ts", "test": "jest", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build", + "prepare": "npm run build" }, "keywords": [ "mcp", diff --git a/tsconfig.json b/tsconfig.json index b329fb7..cf5057d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "moduleResolution": "NodeNext", "esModuleInterop": true, "strict": true, - "outDir": "dist", + "outDir": "./dist", "sourceMap": true, "declaration": true, "resolveJsonModule": true,