Files
zeekay 9ed65b70de translate through /v1/translate, chat, or a local model; validate names
translate asks POST /v1/translate by default, with the protected names
as its glossary, keeps the chat mode, and points chat at any local
OpenAI-compatible server with TRANSLATION_BASE_URL. Both tools take
--catalogs and --terms; validate fails a dropped protected name, the
wrong script or the wrong Chinese, and lists English-identical prose
for review.
2026-10-22 00:29:05 -07:00

34 lines
696 B
JSON

{
"name": "@hanzo/i18n-translate",
"version": "0.1.0",
"private": true,
"license": "BSD-3-Clause",
"type": "module",
"bin": {
"i18n-translate": "dist/cli.js"
},
"dependencies": {
"@hanzo/i18n": "workspace:^"
},
"scripts": {
"build": "tsc",
"test": "node --test --experimental-strip-types test/*.ts",
"typecheck": "../../node_modules/tsgo/bin/tsc --noEmit --incremental false"
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "6.0.3"
},
"main": "dist/fill.js",
"types": "dist/fill.d.ts",
"exports": {
".": {
"types": "./dist/fill.d.ts",
"default": "./dist/fill.js"
}
},
"files": [
"dist"
]
}