-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
119 lines (119 loc) · 2.79 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
{
"name": "coc-deepl",
"version": "0.0.4",
"description": "deepl extension for coc.nvim",
"author": "kqito <29191111+kqito@users.noreply.github.com>",
"license": "MIT",
"main": "dist/index.js",
"keywords": [
"coc.nvim"
],
"engines": {
"coc": "^0.0.82"
},
"scripts": {
"lint": "eslint src --ext ts",
"clean": "rimraf dist",
"watch": "node esbuild.js --watch",
"build": "node esbuild.js",
"prepare": "node esbuild.js",
"prepublishOnly": "node esbuild.js"
},
"prettier": {
"singleQuote": true,
"printWidth": 120,
"semi": true
},
"devDependencies": {
"@types/node": "^16.3.1",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"coc.nvim": "^0.0.82",
"esbuild": "^0.8.42",
"eslint": "^7.14.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.2.0",
"rimraf": "^3.0.2",
"typescript": "^4.1.2"
},
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "coc-deepl configuration",
"properties": {
"deepl.enabled": {
"type": "boolean",
"default": true,
"description": "Whether enable coc-deepl extension or not"
},
"deepl.plan": {
"type": "string",
"default": "free",
"description": "Plans for using deepl API",
"anyOf": [
{
"enum": [
"free",
"pro"
]
},
{
"type": "string"
}
]
},
"deepl.isShowSource": {
"type": "boolean",
"default": false,
"description": "Boolean indicate to show translate source in translation result"
},
"deepl.targetLanguage": {
"type": "string",
"default": "EN",
"anyOf": [
{
"enum": [
"BG",
"CS",
"DA",
"DE",
"EL",
"EN-GB",
"EN-US",
"EN",
"ES",
"ET",
"FI",
"FR",
"HU",
"IT",
"JA",
"LT",
"LV",
"NL",
"PL",
"PT-PT",
"PT-BR",
"PT",
"RO",
"RU",
"SK",
"SL",
"SV",
"ZH"
]
},
{
"type": "string"
}
],
"description": "Language after translation. if it's not specified, will set 'EN'"
}
}
}
}
}