package.json•1.81 kB
{
"name": "MCP_TEMPLATE",
"version": "1.0.0",
"description": "MCP_TEMPLATE - A starting point for building custom Model Context Protocol servers",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rhit-bhuwalk/MCP_TEMPLATE.git"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"bin": "dist/index.js",
"scripts": {
"start": "npm run build && node ./dist/examples/server.js",
"start:dev": "nodemon --watch src --ext ts --exec \"npm run build && npm start\"",
"test": "vitest run",
"test:watch": "vitest --watch",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"clean": "rm -rf dist",
"build": "tsc --project tsconfig.build.json",
"build:watch": "nodemon --watch src --ext ts --exec \"npm run build\"",
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.3",
"uuid": "^9.0.1",
"zod": "^3.24.1",
"zod-to-json-schema": "^3.24.1"
},
"devDependencies": {
"@tsconfig/node-lts": "^20.1.3",
"@types/node": "^22.10.2",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^8.33.0",
"@typescript-eslint/parser": "^8.33.0",
"eslint": "^8.57.0",
"nodemon": "^3.1.7",
"typescript": "^5.7.2",
"vitest": "^3.0.7"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended"
],
"env": {
"node": true,
"es2020": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
}
}
}