-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
126 lines (126 loc) · 2.95 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
{
"name": "konjac",
"displayName": "Konjac - Translate Text",
"description": "VSCode extension for Google Translate",
"version": "0.4.0",
"publisher": "wata",
"galleryBanner": {
"color": "#439FE2",
"theme": "light"
},
"homepage": "https://marketplace.visualstudio.com/items?itemName=wata.konjac",
"repository": {
"type": "git",
"url": "https://github.com/wata/vscode-konjac.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/wata/vscode-konjac/issues"
},
"engines": {
"vscode": "^1.83.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"keywords": [
"translate",
"google translate",
"translateSource",
"konjac"
],
"icon": "icon.png",
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Konjac configuration",
"properties": {
"konjac.apiUrl": {
"type": "string",
"default": "",
"description": "Type your konjac-api URL."
},
"konjac.target": {
"type": "string",
"default": "en",
"description": "Type your target language."
}
}
},
"commands": [
{
"command": "konjac.configure",
"title": "Select Target Language",
"category": "Konjac"
},
{
"command": "konjac.translate",
"title": "Translate This",
"category": "Konjac"
},
{
"command": "konjac.replace",
"title": "Translate This and Replace",
"category": "Konjac"
},
{
"command": "konjac.setclipboard",
"title": "Translate This and Set clipboard",
"category": "Konjac"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "konjac.translate"
},
{
"when": "editorHasSelection",
"command": "konjac.replace"
},
{
"when": "editorHasSelection",
"command": "konjac.setclipboard"
}
]
},
"translates": [
{
"translate": "konjac",
"title": "Konjac translate"
}
]
},
"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": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.83.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.2",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"comment-translate-manager": "^0.0.5",
"eslint": "^8.51.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"typescript": "^5.2.2",
"@vscode/test-electron": "^2.3.5"
},
"dependencies": {
"encodeurl": "^1.0.2",
"request": "^2.88.0",
"request-promise-native": "^1.0.7"
}
}