Skip to content

Context7 Platform -- Up-to-date docs for AI agents

fix: build to dist

Josh4a0189c502d2
diff --git a/package.json b/package.json
index 42435dd4..2e3585c9 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 a14bee07..81dad85b 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,