package.json•2.05 kB
{
"name": "translator-ai",
"version": "1.1.0",
"description": "Fast JSON i18n translator with AI support (Google Gemini, OpenAI & Ollama), incremental caching, multi-file deduplication, and MCP support",
"main": "dist/index.js",
"bin": {
"translator-ai": "dist/index.js",
"translator-ai-mcp": "dist/mcp-server.js"
},
"scripts": {
"start": "ts-node src/index.ts",
"build": "tsc",
"postbuild": "test -f dist/index.js && chmod +x dist/index.js || echo 'Build output not found' && test -f dist/mcp-server.js && chmod +x dist/mcp-server.js || echo 'MCP server not found'",
"prepublishOnly": "npm run build",
"test": "jest",
"test:unit": "jest tests/unit",
"test:integration": "jest tests/integration",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"keywords": [
"i18n",
"translation",
"gemini",
"openai",
"json",
"localization",
"internationalization",
"cli",
"google-gemini",
"gpt-4",
"chatgpt",
"mcp",
"model-context-protocol",
"claude-desktop"
],
"author": "DatanoiseTV",
"license": "CC-BY-NC-SA-4.0 WITH Commercial-Attribution",
"repository": {
"type": "git",
"url": "git+https://github.com/DatanoiseTV/translator-ai.git"
},
"bugs": {
"url": "https://github.com/DatanoiseTV/translator-ai/issues"
},
"homepage": "https://github.com/DatanoiseTV/translator-ai#readme",
"engines": {
"node": ">=14.0.0"
},
"files": [
"dist/",
"README.md",
"LICENSE",
"package.json"
],
"dependencies": {
"@google/generative-ai": "^0.24.1",
"@modelcontextprotocol/sdk": "^1.13.0",
"@types/glob": "^8.1.0",
"commander": "^11.1.0",
"dotenv": "^16.3.1",
"glob": "^11.0.3",
"node-fetch": "^2.7.0",
"ora": "^5.4.1"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^20.10.6",
"@types/node-fetch": "^2.6.11",
"jest": "^30.0.2",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}