fix: build to dist

This commit is contained in:
Josh 2025-04-11 11:01:09 +02:00
parent 37f916367d
commit 4a0189c502
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -3,7 +3,7 @@
"target": "ES2022",
"module": "Node16",
"moduleResolution": "Node16",
"outDir": "./build",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,