support npx

This commit is contained in:
yctimlin
2025-05-12 22:27:24 +08:00
parent 7a72c187a6
commit 110bb19642
8 changed files with 235 additions and 33 deletions
+14 -2
View File
@@ -14,7 +14,8 @@
"lint": "eslint src/**/*.js",
"build": "tsc",
"docker:build": "docker build -t mcp/excalidraw .",
"docker:run": "docker run -p 3000:3000 mcp/excalidraw"
"docker:run": "docker run -p 3000:3000 mcp/excalidraw",
"prepare": "node -e \"try { require('fs').chmodSync('./src/cli.js', '755') } catch(e) { console.log(e) }\""
},
"dependencies": {
"@modelcontextprotocol/sdk": "latest",
@@ -37,5 +38,16 @@
"drawing"
],
"author": "",
"license": "MIT"
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
},
"files": [
"src/**/*",
"README.md",
"LICENSE"
]
}