{ "name": "reuse-before-generate", "version": "0.10.0", "description": "MCP tool: before scaffolding a new project, check whether it already exists and suggest extending a maintained alternative instead of rebuilding.", "type": "module", "bin": { "reuse-before-generate": "dist/index.js" }, "main": "dist/index.js", "scripts": { "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"", "prebuild": "npm run clean", "build": "tsc -p tsconfig.json", "start": "node dist/index.js", "check": "npm run build && node dist/cli.js", "dev": "tsc -p tsconfig.json --watch", "eval": "npm run build && node test/eval/run.mjs", "test": "npm run build && node --test test/unit/*.test.ts test/eval/*.test.mjs", "prepublishOnly": "npm run build && npm test" }, "keywords": [ "mcp", "model-context-protocol", "code-reuse", "search", "github", "npm", "python", "claude", "ai-agent" ], "repository": { "type": "git", "url": "git+https://github.com/aradar46/reuse-before-generate.git" }, "bugs": { "url": "https://github.com/aradar46/reuse-before-generate/issues" }, "homepage": "https://github.com/aradar46/reuse-before-generate#readme", "license": "MIT", "files": [ "dist", "LICENSE", "README.md" ], "//engines": "Running the published dist/ needs only Node 18 (global fetch, AbortSignal.timeout). Running the TEST SUITE needs Node 22.6+, which strips TypeScript from .test.ts files natively.", "engines": { "node": ">=18" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.29.0", "zod": "^3.24.1" }, "devDependencies": { "@types/node": "^22.10.5", "typescript": "^5.7.2" }, "mcpName": "io.github.aradar46/reuse-before-generate" }