From 4a0189c502d2bc3dd6e2d78ba0ebaaf9be20a91c Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 11 Apr 2025 11:01:09 +0200 Subject: [PATCH] fix: build to dist --- package.json | 6 +++--- tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 42435dd..2e3585c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "MCP server for Context7", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc && chmod 755 build/index.js", + "build": "tsc", "format": "prettier --write .", "lint": "eslint \"**/*.{js,ts,tsx}\" --fix" }, @@ -17,10 +17,10 @@ "license": "MIT", "type": "module", "bin": { - "context7-mcp": "build/index.js" + "context7-mcp": "dist/index.js" }, "files": [ - "build" + "dist" ], "bugs": { "url": "https://github.com/upstash/context7-mcp/issues" diff --git a/tsconfig.json b/tsconfig.json index a14bee0..81dad85 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "target": "ES2022", "module": "Node16", "moduleResolution": "Node16", - "outDir": "./build", + "outDir": "./dist", "rootDir": "./src", "strict": true, "esModuleInterop": true,