-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
50 lines (50 loc) · 1.86 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
{
"name": "deepl-localize",
"description": "Translation for $localize files with deepl",
"main": "dist/index.js",
"author": "Tobias Zimmermann",
"repository": {
"url": "https://github.com/tzdesign/deepl-localize"
},
"license": "MIT",
"dependencies": {
"app-root-path": "3.1.0",
"cli-progress": "^3.12.0",
"colors": "^1.4.0",
"commander": "^11.0.0",
"deepl-node": "^1.15.0",
"figlet": "^1.6.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/cli-progress": "^3.11.3",
"@types/figlet": "^1.5.6",
"@types/node": "^20.8.2",
"tsc": "^2.0.4",
"typescript": "^5.2.2"
},
"scripts": {
"build": "tsc",
"test:translate": "tsc && node dist/index.js translate -b src/test/en-US.json -l de-DE de-CH fr-FR sk-SK en_US -i de-DE ",
"test:translate:context": "tsc && node dist/index.js translate -c -C -b src/test/en.json -l de-DE -i de-DE ",
"test:translate:withprefix": "tsc && node dist/index.js translate -b src/test/message-en.json -l de-DE de-CH fr-FR sk-SK -i de-DE",
"test:stale": "tsc && node dist/index.js remove-stale -b src/test/en-US.json -l de-DE de-CH sk-SK fr-FR",
"test:stale:withprefix": "tsc && node dist/index.js remove-stale -b src/test/message-en.json -l de-DE de-CH sk-SK fr-FR",
"test:drystale": "tsc && node dist/index.js remove-stale -d -b src/test/en-US.json -l de-DE de-CH sk-SK fr-FR",
"test:stale:compiled-i18n": "tsc && node dist/index.js remove-stale -b src/test/compiled-i18n/en-US.json -l de-DE fr-FR sk-SK --compiled-i18n",
"test:compiled-i18n": "tsc && node dist/index.js translate -b src/test/compiled-i18n/en-US.json -l de-DE fr-FR sk-SK -i de-DE --compiled-i18n"
},
"keywords": [
"localization",
"localize",
"translation",
"deepl",
"angular",
"angular-localize",
"node",
"ai"
],
"bin": {
"deepl-localize": "./dist/index.js"
}
}