mirror of
https://github.com/hanzoai/i18n.git
synced 2026-10-30 14:24:32 +00:00
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.
34 lines
698 B
JSON
34 lines
698 B
JSON
{
|
|
"name": "@hanzo/i18n-validate",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "BSD-3-Clause",
|
|
"type": "module",
|
|
"bin": {
|
|
"i18n-validate": "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/check.js",
|
|
"types": "dist/check.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/check.d.ts",
|
|
"default": "./dist/check.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
]
|
|
}
|