This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
196 lines (196 loc) · 5.82 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "vale-server",
"displayName": "Vale",
"icon": ".vscode/icon.png",
"description": "The official Visual Studio Code extension for Vale and Vale Server.",
"bugs": "https://github.com/errata-ai/vale-vscode/issues",
"author": {
"name": "Joseph Kato",
"email": "support@errata.ai",
"url": "https://github.com/errata-ai"
},
"publisher": "errata-ai",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/errata-ai/vale-vscode.git"
},
"version": "0.14.1",
"engines": {
"vscode": "^1.43.0"
},
"categories": [
"Linters"
],
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vale.addToAccept",
"category": "Vale",
"title": "Add word to Vocab (accept)"
},
{
"command": "vale.addToReject",
"category": "Vale",
"title": "Add word to Vocab (reject)"
},
{
"command": "vale.openAccept",
"category": "Vale",
"title": "Open Vocab File (accept)"
},
{
"command": "vale.openReject",
"category": "Vale",
"title": "Open Vocab File (reject)"
},
{
"command": "vale.doSummary",
"category": "Vale",
"title": "View Folder Report"
}
],
"menus": {
"editor/context": [
{
"command": "vale.addToAccept",
"category": "Vale",
"when": "editorHasSelection && !config.vale.core.useCLI",
"group": "2_workspace"
},
{
"command": "vale.addToReject",
"category": "Vale",
"when": "editorHasSelection && !config.vale.core.useCLI",
"group": "2_workspace"
}
],
"commandPalette": [
{
"command": "vale.openAccept",
"category": "Vale",
"when": "!config.vale.core.useCLI"
},
{
"command": "vale.openReject",
"category": "Vale",
"when": "!config.vale.core.useCLI"
},
{
"command": "vale.doSummary",
"category": "Vale",
"when": "!config.vale.core.useCLI"
},
{
"command": "vale.addToAccept",
"category": "Vale",
"when": "false"
},
{
"command": "vale.addToReject",
"category": "Vale",
"when": "false"
}
]
},
"configuration": {
"type": "object",
"title": "Vale",
"properties": {
"vale.core.useCLI": {
"type": "boolean",
"default": false,
"markdownDescription": "Use Vale's CLI instead of Vale Server. (**NOTE**: Some features, such as [Quick Fixes](https://github.com/errata-ai/vale-vscode/pull/4) and [Vocab Management](https://github.com/errata-ai/vale-vscode/pull/4), are only available when using Vale Server.)"
},
"vale.server.serverURL": {
"type": "string",
"default": "http://127.0.0.1:7777",
"description": "URL to your running Vale Server instance."
},
"vale.server.provideFixes": {
"type": "boolean",
"default": true,
"description": "Offer solutions to alerts using the 'Quick Fix' button."
},
"vale.server.lintContext": {
"type": "number",
"default": 0,
"markdownDescription": "Only lint the *active* portion of a document (as determined by the cursor position), allowing for efficient on-the-fly linting of large documents. There are three supported values: `-1` (applies to all files), `0` (disabled), `n` (applies to any file with `lines >= n`)."
},
"vale.valeCLI.config": {
"scope": "resource",
"type": "string",
"default": null,
"description": "Absolute path to a Vale config file. If not specified, the default search process will be used (relative to the current file)."
},
"vale.valeCLI.path": {
"scope": "resource",
"type": "string",
"default": null,
"markdownDescription": "Absolute path to the Vale binary. The predefined [`${workspaceFolder}`](https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables) variable can be used to reference a non-global binary. (**NOTE**: On Windows you can use '/' and can omit `.cmd` in the path value.)"
},
"vale.valeCLI.minAlertLevel": {
"scope": "resource",
"type": "string",
"default": "inherited",
"enum": [
"inherited",
"suggestion",
"warning",
"error"
],
"markdownEnumDescriptions": [
"Inherits the `minAlertLevel` from the active configuration file.",
"Sets `minAlertLevel` to `suggestion`, overriding any configuration files.",
"Sets `minAlertLevel` to `warning`, overriding any configuration files.",
"Sets `minAlertLevel` to `error`, overriding any configuration files."
],
"markdownDescription": "Defines from which level of errors and above to display in the problems output."
},
"vale-server.serverURL": {
"type": "string",
"default": "http://127.0.0.1:7777",
"description": "URL to your running Vale Server instance.",
"markdownDeprecationMessage": "**Deprecated**: Please use `#vale.server.serverURL#` instead.",
"deprecationMessage": "Deprecated: Please use vale.server.serverURL instead."
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile",
"test": "node ./out/test/runTest.js",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.43.0",
"@types/which": "^1.3",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"ts-loader": "^6.1.2",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vscode-test": "^1.0.0-next.0",
"webpack": "^4.40.2",
"webpack-cli": "^3.3.9"
},
"dependencies": {
"@types/request-promise-native": "^1.0.16",
"fs": "0.0.1-security",
"request": "^2.88.0",
"request-promise-native": "^1.0.7",
"which": "^2.0.1"
}
}