Skip to content

Commit e2a57f4

Browse files
committed
fix: executable npm package
1 parent 8d1db7e commit e2a57f4

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

package.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@
88
"bugs": "https://github.com/alchemyplatform/alchemy-mcp/issues",
99
"type": "module",
1010
"main": "dist/index.js",
11+
"bin": {
12+
"mcp-server-alchemy": "dist/index.js"
13+
},
14+
"files": [
15+
"dist"
16+
],
1117
"scripts": {
12-
"build": "tsc",
13-
"start": "node dist/index.js",
14-
"dev": "tsx index.ts",
15-
"test": "echo \"Error: no test specified\" && exit 1",
18+
"build": "tsc && shx chmod +x dist/*.js",
19+
"prepare": "pnpm build",
20+
"watch": "tsc --watch",
1621
"inspector": "npx @modelcontextprotocol/inspector node dist/index.js"
1722
},
1823
"dependencies": {

0 commit comments

Comments
 (0)