-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (64 loc) · 1.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "gpt-translate-json",
"private": false,
"version": "0.2.3",
"description": "Command to automatically translate your app JSON files using OpenAI GPT Chat Completions API",
"type": "module",
"scripts": {
"build": "npm run lint && tsc && vite build --mode lib && dts-bundle-generator -o lib/index.d.ts src/index.ts",
"build.lib": "vite build --mode lib",
"build.lib.watch": "vite build --mode lib --watch",
"lint": "eslint src/**/*.ts*",
"release": "npm run build && np",
"test": "vitest test --run",
"gpt-translate-json": "node ./lib/cli.js --apiKey=openai_apy_key --model=gpt-4o --maxTokens=3000 --langs=en-US,it-IT --originalLang=en-US"
},
"bin": {
"gpt-translate-json": "./lib/cli.js"
},
"dependencies": {
"openai": "^4.72.0"
},
"devDependencies": {
"@types/node": "^20.4.2",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"dts-bundle-generator": "^8.0.1",
"eslint": "^8.45.0",
"np": "^7.7.0",
"rollup-plugin-add-shebang": "^0.3.1",
"typescript": "^5.1.6",
"vite": "^4.4.4",
"vitest": "^0.33.0"
},
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
}
},
"files": [
"lib"
],
"engines": {
"node": ">=16.0.0"
},
"homepage": "https://github.com/robisim74/gpt-translate-json",
"repository": {
"type": "git",
"url": "https://github.com/robisim74/gpt-translate-json.git"
},
"bugs": {
"url": "https://github.com/robisim74/gpt-translate-json/issues"
},
"keywords": [
"json",
"translate",
"i18n",
"GPT"
],
"license": "MIT"
}