chore: satisfies npm-pkg-lint & publint
Co-authored-by: 藍+85CD <50108258+kwaa@users.noreply.github.com>
This commit is contained in:
parent
2a3cab20e6
commit
5403cad0dd
2 changed files with 19 additions and 4 deletions
17
package.json
17
package.json
|
|
@ -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
6
tsconfig.prod.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"exclude": [
|
||||
"**/*.test.ts",
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue