UNPKG

@scoutello/i18n-magic

Version:

Intelligent CLI toolkit that automates internationalization workflows for JavaScript/TypeScript projects and auto-translates new string keys to other languages

96 lines 2.48 kB
{ "name": "@scoutello/i18n-magic", "version": "0.65.0", "private": false, "license": "MIT", "description": "Intelligent CLI toolkit that automates internationalization workflows for JavaScript/TypeScript projects and auto-translates new string keys to other languages", "keywords": [ "i18n", "internationalization", "translation", "localization", "cli", "ai", "openai", "gemini", "react-i18next", "next-i18next", "vue-i18n", "automation", "typescript", "javascript" ], "homepage": "https://github.com/BjoernRave/i18n-magic#readme", "bugs": { "url": "https://github.com/BjoernRave/i18n-magic/issues" }, "repository": { "type": "git", "url": "https://github.com/BjoernRave/i18n-magic" }, "author": { "name": "scoutello", "url": "https://github.com/BjoernRave" }, "type": "module", "main": "dist/index.js", "typings": "dist/index.d.ts", "types": "dist/index.d.ts", "bin": { "i18n-magic": "dist/cli.js", "i18n-magic-mcp": "dist/mcp-server.js" }, "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist", "src" ], "scripts": { "analyze": "size-limit --why", "build": "tsc && echo '#!/usr/bin/env node' | cat - dist/cli.js > temp && mv temp dist/cli.js && chmod +x dist/cli.js && echo '#!/usr/bin/env node' | cat - dist/mcp-server.js > temp && mv temp dist/mcp-server.js && chmod +x dist/mcp-server.js", "lint": "biome check src/", "mcp": "node dist/mcp-server.js", "prepare": "npm run build", "size": "size-limit", "start": "tsc --watch", "test": "jest" }, "jest": { "testEnvironment": "node" }, "engines": { "node": ">=16" }, "peerDependencies": { "openai": "^5.20.3" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.25.2", "chalk": "^5.6.2", "cli-progress": "^3.12.0", "commander": "^14.0.2", "dotenv": "^16.5.0", "fast-glob": "^3.3.3", "i18next-scanner": "^4.6.0", "minimatch": "^10.1.1", "prompts": "^2.4.2", "zod": "^3.24.2" }, "devDependencies": { "@biomejs/biome": "2.3.11", "@tsconfig/recommended": "^1.0.8", "@types/cli-progress": "^3.11.6", "@types/jest": "^29.5.12", "@types/node": "^20.12.12", "@types/prompts": "^2.4.9", "jest": "^29.7.0", "openai": "^5.20.2", "typescript": "^5.9.3" }, "packageManager": "pnpm@10.27.0" }