UNPKG

auto-translate-json-library

Version:

Automatically translates JSON language files to other languages using Google Translate,AWS,Azure,DeepL,OpenAI or local OpenAI compatible server

79 lines (78 loc) 2.33 kB
{ "name": "auto-translate-json-library", "version": "1.5.5", "description": "Automatically translates JSON language files to other languages using Google Translate,AWS,Azure,DeepL,OpenAI or local OpenAI compatible server", "main": "./build/src/index.js", "bin": { "auto-translate-json-library": "./build/src/bin/cli.js", "atj": "./build/src/bin/cli.js" }, "types": "./build/src/index.d.ts", "files": [ "build", "README.md" ], "scripts": { "prepare": "tsc", "build": "tsc", "build:go": "tsgo --skipLibCheck", "build:run": "ts-node ./build/src/index.js --pivotTranslation=./tests/translations/en.json", "debug": "ts-node src/index.ts --pivotTranslation=./tests/translations/en.json", "lint": "biome check ./src", "lint-fix": "biome check ./src --write", "lint-fix-all": "biome check --write --unsafe ./src", "format": "biome format ./src", "format-fix": "biome format ./src --write", "start": "ts-node src/index.ts" }, "keywords": [ "translate", "language", "json", "flutter", "angular", "ngx-translate", "transloco", "auto-translate-json", "google", "Azure", "DeepL", "OpenAI" ], "author": "codegrue", "repository": { "type": "git", "url": "https://github.com/topce/auto-translate-json-library" }, "contributors": [ "codegrue", "gajo357", "topce", "BenGMiles", "stonega", "alexei-petru" ], "license": "MIT", "devDependencies": { "@biomejs/biome": "2.1.3", "@types/minimist": "1.2.5", "@types/node": "24.1.0", "@types/yargs": "17.0.33", "ts-node": "10.9.2", "typescript": "5.9.2", "@topce/native-preview": "^7.0.0-dev.202508020" }, "dependencies": { "@aws-sdk/client-translate": "3.859.0", "@google-cloud/translate": "9.2.0", "axios": "1.11.0", "deepl-node": "1.19.0", "dotenv": "17.2.1", "form-data": "4.0.4", "minimist": "1.2.8", "openai": "5.11.0", "picocolors": "1.1.1", "uuid": "11.1.0", "yargs": "18.0.0" } }