Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
},
Expand All @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions tsconfig.prod.json
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming of this file was borrowed from the shorted version of this official documentation suggested one: https://www.typescriptlang.org/docs/handbook/compiler-options.html with the consideration of make it shorter for developers to type with.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.json",
"exclude": [
"**/*.test.ts",
]
}