-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
137 lines (137 loc) · 3.25 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"publisher": "yzydeveloper",
"name": "i18n-workbench",
"displayName": "I18n Workbench",
"description": "International Workbench Expansion",
"version": "1.0.0-beta.2",
"license": "MIT",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:vue",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:javascriptreact"
],
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run build",
"dev": "tsup --watch",
"build": "tsup",
"workbench:build": "vite build --watch --config ./src/editor/vite.config.ts",
"workbench:dev": "vite --config ./src/editor/vite.config.ts"
},
"keywords": [
"i18n"
],
"repository": {
"type": "git",
"url": "https://github.com/yzydeveloper/i18n-workbench"
},
"homepage": "https://github.com/yzydeveloper/i18n-workbench",
"vsce": {
"dependencies": false
},
"dependencies": {
"@babel/core": "^7.15.8",
"@babel/generator": "^7.15.8",
"@babel/parser": "^7.15.8",
"@babel/template": "^7.15.4",
"@babel/traverse": "^7.15.4",
"@babel/types": "^7.15.6",
"@vue/compiler-core": "^3.2.20",
"axios": "^0.23.0",
"fast-glob": "^3.2.7",
"flat": "^5.0.2",
"vue": "3.2.26"
},
"devDependencies": {
"@types/babel__generator": "^7.6.3",
"@types/babel__traverse": "^7.14.2",
"@types/flat": "^5.0.2",
"@types/node": "^14.14.37",
"@types/vscode": "^1.52.0",
"@vitejs/plugin-vue": "^2.0.1",
"@yzydeveloper/eslint-config": "^0.1.2",
"eslint": "^7.23.0",
"ts-loader": "^9.2.6",
"tsup": "^6.2.3",
"typescript": "^4.2.3",
"vite": "^2.7.2"
},
"contributes": {
"commands": [
{
"command": "i18n-workbench.config-locales",
"title": "手动设置语言目录"
},
{
"command": "i18n-workbench.config-locales-auto",
"title": "自动设置语言目录"
},
{
"command": "i18n-workbench.open-workbench",
"title": "打开翻译工作台"
},
{
"command": "i18n-workbench.replace-with",
"title": "替换当前文档"
},
{
"command": "i18n-workbench.config-call-function-name",
"title": "设置系统中的国际化调用函数名称"
}
],
"configuration": {
"type": "object",
"title": "i18n-workbench",
"properties": {
"i18n-workbench.localesPath": {
"type": "string",
"description": "翻译文件的目录(相对于项目根目录)"
},
"i18n-workbench.callFunctionName": {
"type": "string",
"description": "国际化调用函数名称"
},
"i18n-workbench.translate-apiRoot": {
"type": "string",
"default": "http://localhost:5000",
"description": ""
},
"i18n-workbench.translate-engines": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"google-cn",
"libretranslate"
],
"default": [
"google-cn"
]
},
"description": "翻译服务提供商"
},
"i18n-workbench.sourceLanguage": {
"type": "string",
"default": "zh-CN",
"description": "翻译源语言"
},
"i18n-workbench.ignoreFiles": {
"type": "array",
"item": {
"type": "string"
},
"description": "加载时要忽略的区域设置文件。\n接受一个glob数组"
}
}
}
}
}