Skip to content

Commit 5403cad

Browse files
nekomeowwwkwaa
andcommitted
chore: satisfies npm-pkg-lint & publint
Co-authored-by: 藍+85CD <[email protected]>
1 parent 2a3cab2 commit 5403cad

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

package.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,17 @@
77
"homepage": "https://modelcontextprotocol.io",
88
"bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues",
99
"type": "module",
10-
"main": "./dist/index.js",
11-
"types": "./dist/index.d.ts",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git"
13+
},
14+
"engines": {
15+
"node": ">=22.12.0"
16+
},
17+
"keywords": [
18+
"modelcontextprotocol",
19+
"mcp"
20+
],
1221
"exports": {
1322
"./*": "./dist/*"
1423
},
@@ -23,8 +32,8 @@
2332
"dist"
2433
],
2534
"scripts": {
26-
"build": "tsc",
27-
"prepack": "tsc",
35+
"build": "tsc -p tsconfig.prod.json",
36+
"prepack": "tsc -p tsconfig.prod.json",
2837
"lint": "eslint src/",
2938
"test": "jest",
3039
"start": "npm run server",

tsconfig.prod.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"exclude": [
4+
"**/*.test.ts",
5+
]
6+
}

0 commit comments

Comments
 (0)