UNPKG

@myuon/refactor-mcp

Version:

MCP server for refactoring tools

78 lines (77 loc) 2.04 kB
{ "name": "@myuon/refactor-mcp", "version": "1.2.0", "description": "MCP server for refactoring tools", "main": "dist/server.js", "type": "module", "bin": { "refactor-mcp": "dist/index.js" }, "files": [ "dist/**/*", "README.md", "CLAUDE.md" ], "keywords": [ "mcp", "model-context-protocol", "refactoring", "code-transformation", "regex", "search-replace" ], "author": "myuon", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/myuon/refactor-mcp.git" }, "homepage": "https://github.com/myuon/refactor-mcp#readme", "bugs": { "url": "https://github.com/myuon/refactor-mcp/issues" }, "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsc", "start": "node dist/index.js", "dev": "tsx src/index.ts", "dev:cli": "tsx src/index.ts cli", "cli": "tsx src/cli.ts", "lint": "eslint src/**/*.ts tests/**/*.ts", "lint:fix": "eslint src/**/*.ts tests/**/*.ts --fix", "format": "prettier --write src/**/*.ts tests/**/*.ts", "format:check": "prettier --check src/**/*.ts tests/**/*.ts", "type-check": "tsc --noEmit", "test": "vitest", "test:run": "vitest run", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", "check": "npm run type-check && npm run lint && npm run format:check && npm run test:run", "prepublishOnly": "npm run check && npm run build" }, "publishConfig": { "access": "public" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.0.0", "commander": "^14.0.0", "glob": "^11.0.3", "zod": "^3.22.4" }, "devDependencies": { "@eslint/js": "^9.30.0", "@types/eslint__js": "^8.42.3", "@types/node": "^20.0.0", "@vitest/ui": "^3.2.4", "eslint": "^9.30.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-prettier": "^5.5.1", "prettier": "^3.6.2", "tsx": "^4.0.0", "typescript": "^5.0.0", "typescript-eslint": "^8.35.0", "vitest": "^3.2.4" } }