chore: satisfies npm-pkg-lint & publint

Co-authored-by: 藍+85CD <50108258+kwaa@users.noreply.github.com>
This commit is contained in:
Neko Ayaka 2024-12-15 15:16:47 +08:00
commit 5403cad0dd
No known key found for this signature in database
2 changed files with 19 additions and 4 deletions

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": ">=22.12.0"
},
"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",
]
}