Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 893c5cd

Browse files
committed
Fix template package.json
1 parent 497a286 commit 893c5cd

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

template/package.json.ejs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,23 @@
33
"version": "0.1.0",
44
"description": "<%= description %>",
55
"type": "module",
6+
"bin": {
7+
"<%= name %>": "./build/index.js"
8+
},
9+
"files": [
10+
"build"
11+
],
612
"scripts": {
7-
"build": "tsc",
8-
"dev": "tsc --watch",
9-
"start": "node build/index.js"
13+
"build": "tsc && shx chmod +x build/index.js",
14+
"prepare": "npm run build",
15+
"watch": "tsc --watch"
1016
},
1117
"dependencies": {
1218
"@modelcontextprotocol/sdk": "0.6.0"
1319
},
1420
"devDependencies": {
1521
"@types/node": "^20.11.24",
22+
"shx": "^0.3.4",
1623
"typescript": "^5.3.3"
1724
}
1825
}

0 commit comments

Comments
 (0)