-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.4 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.4 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@tenado/i18n-cli",
"version": "1.4.9",
"description": "i18n-cli是一个自动国际化脚本,通过执行命令,自动提取代码里面的中文,自动调用百度或谷歌翻译接口,自动将翻译结果以 key-value 形式存入*.json 语言包里",
"keywords": [
"i18n",
"auto",
"cli",
"translation",
"intl",
"locale",
"internationalization",
"globalization",
"languages",
"vue",
"react",
"多语言",
"本地化",
"全球化",
"国际化",
"翻译"
],
"files": [
"bin",
"src"
],
"bin": {
"i18n-cli": "bin/i18n-cli"
},
"scripts": {
"init": "node ./bin/i18n-cli init",
"sync": "node ./bin/i18n-cli sync",
"extract": "node ./bin/i18n-cli extract",
"translate": "node ./bin/i18n-cli translate",
"prettier": "npx prettier --write .",
"test": "mocha --recursive"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tenadolanter/i18n-cli.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/tenadolanter/i18n-cli/issues"
},
"homepage": "https://github.com/tenadolanter/i18n-cli#readme",
"engines": {
"node": ">15.0.0"
},
"dependencies": {
"@babel/core": "^7.22.5",
"@babel/generator": "^7.22.5",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/parser": "^7.22.5",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-syntax-decorators": "^7.22.5",
"@babel/plugin-syntax-do-expressions": "^7.22.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-function-bind": "^7.22.5",
"@babel/plugin-syntax-jsx": "^7.22.5",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.22.5",
"@babel/traverse": "^7.22.5",
"@babel/types": "^7.22.5",
"chalk": "^4.1.2",
"commander": "^10.0.1",
"glob": "^7.2.3",
"htmlparser2": "^9.0.0",
"http-errors": "^2.0.0",
"inquirer": "^6.5.2",
"limax": "^4.1.0",
"md5": "^2.3.0",
"mustache": "^4.2.0",
"nanoid": "^3.3.6",
"node-fetch": "^2.6.12",
"parse5": "^5.1.1",
"prettier": "^2.8.8",
"progress": "^2.0.3"
},
"devDependencies": {
"chai": "^4.3.7",
"mocha": "^10.2.0"
}
}