-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.21 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
{
"name": "chinese-variable-naming",
"displayName": "中文变量命名",
"description": "根据选中的中文进行变量命名",
"version": "0.0.4",
"publisher": "houengineer",
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Other"
],
"keywords": [
"中文变量命名",
"变量命名",
"变量名",
"翻译",
"named",
"naming",
"variable",
"translate"
],
"activationEvents": [],
"main": "./out/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/HouEngineer/vsce-chinese-variable-naming.git"
},
"icon": "images/icon.png",
"contributes": {
"commands": [
{
"command": "chinese-variable-naming.naming",
"title": "中文变量命名"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "chinese-variable-naming.naming",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "chinese-variable-naming.naming",
"key": "ctrl+n",
"mac": "cmd+n",
"when": "editorHasSelection"
}
],
"configuration": [
{
"title": "中文变量命名",
"properties": {
"chinese-variable-naming.appid": {
"type": "string",
"default": "",
"description": "百度翻译API-appid"
},
"chinese-variable-naming.secret": {
"type": "string",
"default": "",
"description": "百度翻译API-密钥"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.3.3"
},
"dependencies": {
"axios": "^1.6.8",
"md5": "^2.3.0"
}
}