package.json•3.37 kB
{
"name": "prompt-auto-optimizer-mcp",
"version": "1.0.0",
"description": "AI-Powered Prompt Auto-Optimizer MCP Server",
"main": "index.js",
"scripts": {
"dev": "NODE_OPTIONS='--max-old-space-size=16384' tsx src/mcp/server.ts",
"build": "NODE_OPTIONS='--max-old-space-size=16384' tsc",
"start": "NODE_OPTIONS='--max-old-space-size=16384' node dist/src/index.js",
"mcp:start": "NODE_OPTIONS='--max-old-space-size=16384' node dist/src/index.js",
"mcp:dev": "NODE_OPTIONS='--max-old-space-size=16384' tsx src/mcp/server.ts",
"mcp:inspect": "NODE_OPTIONS='--max-old-space-size=16384' node --inspect dist/src/index.js",
"test": "NODE_OPTIONS='--max-old-space-size=16384' vitest",
"test:ui": "NODE_OPTIONS='--max-old-space-size=16384' vitest --ui",
"test:coverage": "NODE_OPTIONS='--max-old-space-size=16384' vitest --coverage",
"test:watch": "NODE_OPTIONS='--max-old-space-size=16384' vitest --watch",
"test:integration": "NODE_OPTIONS='--max-old-space-size=16384' vitest run --config vitest.integration.config.ts",
"test:e2e": "NODE_OPTIONS='--max-old-space-size=16384' vitest run src/test/integration/gepa-e2e.test.ts --config vitest.integration.config.ts",
"test:e2e:performance": "NODE_OPTIONS='--max-old-space-size=16384' tsx -e \"import('./src/test/integration/index.js').then(m => m.runPerformanceBenchmarks()).then(r => console.log('Benchmarks:', r)).catch(console.error)\"",
"test:e2e:validate": "NODE_OPTIONS='--max-old-space-size=16384' tsx -e \"import('./src/test/integration/index.js').then(m => m.validateE2EEnvironment()).then(r => console.log('Validation:', r)).catch(console.error)\"",
"test:unit": "NODE_OPTIONS='--max-old-space-size=16384' vitest run src/**/*.test.ts",
"test:mcp": "NODE_OPTIONS='--max-old-space-size=16384' vitest run src/test/mcp-server.test.ts",
"test:ci": "NODE_OPTIONS='--max-old-space-size=16384' vitest run --coverage --reporter=verbose",
"test:all": "npm run test:unit && npm run test:integration && npm run test:e2e",
"lint": "eslint src --ext .ts,.js --max-warnings 0",
"lint:fix": "eslint src --ext .ts,.js --fix",
"format": "prettier --write \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\" \"*.{ts,js,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\" \"*.{ts,js,json,md}\"",
"typecheck": "NODE_OPTIONS='--max-old-space-size=16384' tsc --noEmit",
"clean": "rm -rf dist coverage",
"prepare": "husky install",
"ci": "npm run typecheck && npm run lint && npm run test:coverage && npm run build"
},
"keywords": [
"mcp",
"llm",
"prompt",
"optimization",
"ai",
"automation",
"evolution"
],
"author": "Prompt Optimization Team",
"license": "MIT",
"devDependencies": {
"@testing-library/jest-dom": "^6.1.5",
"@types/node": "^20.19.9",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"@vitest/coverage-v8": "^1.1.0",
"@vitest/ui": "^1.1.0",
"eslint": "^8.55.0",
"husky": "^9.0.0",
"prettier": "^3.1.0",
"tsx": "^4.20.3",
"typescript": "^5.3.0",
"vitest": "^1.1.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^0.4.0",
"@types/node-cron": "^3.0.11",
"node-cron": "^4.2.1"
},
"engines": {
"node": ">=18.0.0"
}
}