-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
58 lines (58 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
51
52
53
54
55
56
57
58
{
"name": "EnglishChineseDictionary",
"displayName": "翻译(英汉词典)",
"description": "本地77万词条英汉词典,不依赖任何在线翻译API,无查询次数限制。可翻译驼峰和下划线命名,及对整个文件中的标识符批量翻译。Translate a selected identifier, or all the recognized identifiers in one source file.",
"icon": "icons/icon_light_128.png",
"version": "1.1.1",
"publisher": "CodeInChinese",
"engines": {
"vscode": "^1.29.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.翻译选中文本",
"title": "英汉词典"
},
{
"command": "editor.批量翻译标识符",
"title": "批量翻译标识符"
}
],
"configuration": {
"type": "object",
"title": "翻译(英汉词典)配置",
"properties": {
"EnglishChineseDictionary.enableHover": {
"type": "boolean",
"default": false,
"description": "开启hover悬浮翻译文本"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"repository": {
"type": "git",
"url": "https://github.com/program-in-chinese/vscode_english_chinese_dictionary.git"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"eslint": "^4.6.1",
"typescript": "^3.9.10",
"vscode": "1.1.37"
}
}