mirror of
https://github.com/upstash/context7.git
synced 2025-06-26 23:50:04 +00:00
fix: build to dist
This commit is contained in:
parent
37f916367d
commit
4a0189c502
@ -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"
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user