mirror of
https://github.com/Done-0/fuck-u-code.git
synced 2026-09-03 06:34:37 +08:00
- Add comprehensive JSON schema field descriptions with i18n support (en, zh, ru) - Fix shell script parsing by adding graceful fallback to regex parser when tree-sitter fails - Change MCP server default output format from markdown to JSON for better AI integration - Improve parser error handling with automatic fallback mechanism - Add detailed field explanations in $schema for better AI comprehension - Bump version to 2.2.0 Breaking changes: - MCP server now returns JSON format by default instead of markdown
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"name": "eff-u-code",
|
|
"version": "2.2.0",
|
|
"description": "Production-grade code quality analyzer with AST parsing and AI integration",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"fuck-u-code": "bin/fuck-u-code.js",
|
|
"fuck-u-code-mcp": "bin/fuck-u-code-mcp.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest",
|
|
"test:coverage": "vitest --coverage",
|
|
"lint": "eslint src --ext .ts",
|
|
"lint:fix": "eslint src --ext .ts --fix",
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
"prepare": "npm run build",
|
|
"postinstall": "node bin/postinstall.js"
|
|
},
|
|
"keywords": [
|
|
"code-quality",
|
|
"static-analysis",
|
|
"ast",
|
|
"tree-sitter",
|
|
"ai",
|
|
"code-review",
|
|
"complexity",
|
|
"metrics"
|
|
],
|
|
"author": "Done-0",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Done-0/fuck-u-code.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.74.0",
|
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
"chalk": "^5.4.1",
|
|
"cli-table3": "^0.6.5",
|
|
"commander": "^14.0.3",
|
|
"cosmiconfig": "^9.0.0",
|
|
"glob": "^11.0.0",
|
|
"ignore": "^7.0.5",
|
|
"inquirer": "^13.2.2",
|
|
"openai": "^4.77.0",
|
|
"ora": "^9.3.0",
|
|
"p-limit": "^6.0.0",
|
|
"tree-sitter-wasms": "^0.1.13",
|
|
"web-tree-sitter": "^0.24.7",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
"@typescript-eslint/parser": "^8.0.0",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"eslint": "^9.0.0",
|
|
"eslint-config-prettier": "^10.0.0",
|
|
"prettier": "^3.5.0",
|
|
"typescript": "^5.7.0",
|
|
"typescript-eslint": "^8.55.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin",
|
|
"README.md"
|
|
]
|
|
}
|