Merge pull request #94 from nekomeowww/dev/exclude-tests
chore: satisfies npm-pkg-lint & publint
This commit is contained in:
commit
3164da64d0
3 changed files with 22 additions and 4 deletions
3
package-lock.json
generated
3
package-lock.json
generated
|
|
@ -31,6 +31,9 @@
|
|||
"typescript": "^5.5.4",
|
||||
"typescript-eslint": "^8.0.0",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/@ampproject/remapping": {
|
||||
|
|
|
|||
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": ">=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
6
tsconfig.prod.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"exclude": [
|
||||
"**/*.test.ts",
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue