Merge pull request #94 from nekomeowww/dev/exclude-tests

chore: satisfies npm-pkg-lint & publint
This commit is contained in:
Justin Spahr-Summers 2024-12-17 16:50:54 +00:00 • committed by GitHub
commit 3164da64d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 4 deletions

3
package-lock.json generated
View file

@ -31,6 +31,9 @@
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0",
"ws": "^8.18.0"
},
"engines": {
"node": ">=18"
}
},
"node_modules/@ampproject/remapping": {

View file

@ -7,8 +7,17 @@
"homepage": "https://modelcontextprotocol.io",
"bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git"
},
"engines": {
"node": ">=18"
},
"keywords": [
"modelcontextprotocol",
"mcp"
],
"exports": {
"./*": "./dist/*"
},
@ -23,8 +32,8 @@
"dist"
],
"scripts": {
"build": "tsc",
"prepack": "tsc",
"build": "tsc -p tsconfig.prod.json",
"prepack": "tsc -p tsconfig.prod.json",
"lint": "eslint src/",
"test": "jest",
"start": "npm run server",

6
tsconfig.prod.json Normal file
View file

@ -0,0 +1,6 @@
{
"extends": "./tsconfig.json",
"exclude": [
"**/*.test.ts",
]
}