Skip to content

Commit 3164da6

Browse files
Merge pull request #94 from nekomeowww/dev/exclude-tests
chore: satisfies npm-pkg-lint & publint
2 parents 422a535 + 70ee403 commit 3164da6

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

package-lock.json

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+13-4
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": ">=18"
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

+6
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)