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", "description": "MCP server for Context7",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc && chmod 755 build/index.js", "build": "tsc",
"format": "prettier --write .", "format": "prettier --write .",
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix" "lint": "eslint \"**/*.{js,ts,tsx}\" --fix"
}, },
@ -17,10 +17,10 @@
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"bin": { "bin": {
"context7-mcp": "build/index.js" "context7-mcp": "dist/index.js"
}, },
"files": [ "files": [
"build" "dist"
], ],
"bugs": { "bugs": {
"url": "https://github.com/upstash/context7-mcp/issues" "url": "https://github.com/upstash/context7-mcp/issues"

View File

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