babaofan-translate-cli 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +728 -0
- package/bin/i18n.js +1450 -0
- package/config.js +1 -0
- package/package.json +41 -0
package/config.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const defaultGoogleApiKey = "";
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": false,
|
|
3
|
+
"name": "babaofan-translate-cli",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "A local CLI for scanning i18n calls, generating semantic keys, translating with Google AI Studio, and updating locale files.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"babaofan-translate": "./bin/i18n.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"i18n": "node bin/i18n.js"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"bin",
|
|
15
|
+
"config.js",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"keywords": [
|
|
19
|
+
"i18n",
|
|
20
|
+
"cli",
|
|
21
|
+
"translation",
|
|
22
|
+
"google-ai-studio",
|
|
23
|
+
"gemini",
|
|
24
|
+
"vue",
|
|
25
|
+
"react",
|
|
26
|
+
"nextjs",
|
|
27
|
+
"nuxt"
|
|
28
|
+
],
|
|
29
|
+
"author": "",
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@google/genai": "^1.24.0",
|
|
33
|
+
"@babel/parser": "^7.28.6",
|
|
34
|
+
"@babel/types": "^7.28.6",
|
|
35
|
+
"@vue/compiler-sfc": "^3.5.26",
|
|
36
|
+
"chalk": "^5.3.0",
|
|
37
|
+
"commander": "^12.1.0",
|
|
38
|
+
"glob": "^10.3.12",
|
|
39
|
+
"lodash-es": "^4.17.22"
|
|
40
|
+
}
|
|
41
|
+
}
|