package.jsonโข4.08 kB
{
"name": "testrail-mcp-server",
"version": "1.0.0",
"description": "Comprehensive TestRail MCP Server for managing test cases, runs, results, and reporting through Model Context Protocol",
"main": "dist/index.js",
"module": "src/smithery.ts",
"type": "module",
"bin": {
"testrail-mcp-server": "dist/index.js"
},
"scripts": {
"start": "node dist/index.js",
"dev": "ts-node src/index.ts",
"dev:smithery": "npx @smithery/cli dev",
"build": "tsc && chmod +x dist/index.js",
"build:smithery": "npx @smithery/cli build",
"build:watch": "tsc --watch",
"setup-agents": "node setup-agents.js",
"validate-smithery": "node validate-smithery.js",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:integration": "jest --testMatch='**/tests/integration/**/*.test.ts'",
"test:unit": "jest --testMatch='**/tests/unit/**/*.test.ts'",
"docs:generate": "typedoc src --out docs/api",
"clean": "rimraf dist",
"prepublishOnly": "npm run build",
"validate": "npm run lint && npm run format:check && npm run test"
},
"keywords": [
"testrail",
"mcp",
"model-context-protocol",
"test-management",
"test-automation",
"qa",
"testing",
"test-cases",
"test-runs",
"test-results",
"api",
"integration"
],
"author": "TestRail MCP Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/your-username/testrail-mcp-server.git"
},
"bugs": {
"url": "https://github.com/your-username/testrail-mcp-server/issues"
},
"homepage": "https://github.com/your-username/testrail-mcp-server#readme",
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.9.0",
"axios": "^1.6.0",
"dotenv": "^16.3.1",
"winston": "^3.11.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^8.40.0",
"@typescript-eslint/parser": "^8.40.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"nock": "^13.4.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.20.5",
"typedoc": "^0.25.4",
"typescript": "^5.2.2"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src",
"<rootDir>/tests"
],
"testMatch": [
"**/__tests__/**/*.ts",
"**/tests/**/*.test.ts",
"**/?(*.)+(spec|test).ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/index.ts"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.ts"
]
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2,
"useTabs": false
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "warn"
},
"env": {
"node": true,
"es6": true,
"jest": true
}
}
}