-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.02 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
{
"name": "vscode-translation",
"displayName": "Easy Translator",
"description": "A simple translation extension for VS Code",
"version": "1.1.0",
"publisher": "preflower",
"engines": {
"vscode": "^1.43.0"
},
"keywords": [
"翻译",
"translator",
"translation",
"translate",
"language"
],
"license": "MIT",
"categories": [
"Other"
],
"icon": "assets/icon.jpg",
"repository": {
"type": "git",
"url": "https://github.com/preflower/vscode-translation.git"
},
"activationEvents": [
"workspaceContains:*.*"
],
"main": "./out/extension.js",
"contributes": {
"hoverProvider": "true",
"configuration": {
"title": "Easy Translator",
"properties": {
"easy-translator.defaultLanguage": {
"type": "string",
"default": "zh-cn",
"description": "Translate other languages into this language. options: zh-cn, en, pt"
},
"easy-translator.covertedLanguage": {
"type": "string",
"default": "en",
"description": "If the text language is the same as the default language, convert to that language. options: zh-cn, en, jap, fr, ko, pt"
},
"easy-translator.dictionary": {
"type": "array",
"default": [
"YouDao",
"Bing",
"Google",
"Linguee"
],
"description": "Configure available dictionaries. options: YouDao, Bing, Google, Linguee"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.43.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.26.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"glob": "^7.1.6",
"mocha": "^7.1.1",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"cheerio": "^1.0.0-rc.3",
"got": "^10.7.0",
"translation-google": "^0.2.1"
}
}