-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 2.66 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
{
"name": "deeplx-translate",
"displayName": "DeepLX Translate",
"description": "deeplx translate source for comment-translate",
"version": "0.0.1",
"publisher": "wzdnzd",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other"
],
"keywords": [
"translateSource",
"comment translate",
"deeplx",
"deeplx translate",
"翻译",
"注释",
"翻訳"
],
"homepage": "https://github.com/wzdnzd/deeplx-translate#readme",
"bugs": {
"url": "https://github.com/wzdnzd/deeplx-translate/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/wzdnzd/deeplx-translate.git"
},
"activationEvents": [],
"main": "./out/extension.js",
"icon": "image/logo.png",
"extensionDependencies": [
"intellsmi.comment-translate"
],
"contributes": {
"configuration": [
{
"title": "DeepLX Translate",
"type": "Object",
"properties": {
"deeplxTranslate.apiPath": {
"type": "string",
"default": "https://api.deeplx.org/translate",
"pattern": "https?:\\/\\/(www\\.)?(([\\w\u4e00-\u9fa5\\-]+\\.)+[a-zA-Z\u4e00-\u9fa5\\-]{2,6}|((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))(:([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(\/[^\\s]*)?$",
"markdownDescription": "DeepLX translation service API"
},
"deeplxTranslate.accessToken": {
"type": "string",
"default": "",
"markdownDescription": "The token used during translation (if required by the translation service)"
},
"deeplxTranslate.ignorePattern": {
"type": "string",
"default": "[\\*/#$]",
"markdownDescription": "Ignore regular expressions"
}
}
}
],
"translates": [
{
"translate": "deeplx",
"title": "DeepLX 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/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@vscode/test-electron": "^1.6.2",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.1.3",
"typescript": "^4.4.4"
},
"dependencies": {
"axios": "0.21.4",
"comment-translate-manager": "^0.0.2"
}
}