-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
95 lines (95 loc) · 2.75 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": "translator",
"displayName": "Translator",
"description": "Translate between English and Chinese",
"version": "0.0.3",
"publisher": "formulahendry",
"icon": "logo.png",
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Other"
],
"keywords": [
"Translator",
"Translate",
"English",
"Chinese"
],
"bugs": {
"url": "https://github.com/formulahendry/vscode-translator/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/formulahendry/vscode-translator/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/formulahendry/vscode-translator.git"
},
"activationEvents": [
"*",
"onCommand:translator.translate",
"onCommand:translator.toggleCaptureWord"
],
"main": "./out/extension",
"contributes": {
"commands": [{
"command": "translator.translate",
"title": "Translate"
},
{
"command": "translator.replaceWithTranslation",
"title": "Replace with Translation"
},
{
"command": "translator.toggleCaptureWord",
"title": "Toggle - Capture Word"
}
],
"menus": {
"editor/context": [{
"command": "translator.translate",
"group": "navigation@1"
},
{
"command": "translator.replaceWithTranslation",
"group": "navigation@2"
}
]
},
"keybindings": [{
"command": "translator.translate",
"key": "ctrl+alt+z"
}],
"configuration": {
"type": "object",
"title": "Translator",
"properties": {
"translator.captureWord": {
"type": "boolean",
"default": true,
"description": "Whether to translate when hovering on a word."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"tslint": "tslint --project tsconfig.json"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.21",
"tslint": "^5.8.0",
"@types/node": "^8.10.25",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"applicationinsights": "^1.0.5",
"axios": "^0.18.0"
}
}