forked from errata-ai/vale-vscode
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
131 lines (131 loc) · 4.37 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
{
"name": "vale-vscode",
"displayName": "Vale VSCode",
"icon": ".vscode/icon.png",
"description": "The Visual Studio Code extension for Vale.",
"bugs": "https://github.com/chrischinchilla/vale-vscode/issues",
"author": {
"name": "Chris Chinchilla",
"email": "[email protected]",
"url": "https://github.com/chrischinchilla"
},
"publisher": "chrischinchilla",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chrischinchilla/vale-vscode.git"
},
"sponsor": {
"url": "https://github.com/sponsors/ChrisChinchilla"
},
"version": "0.20.0",
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Linters"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Vale",
"properties": {
"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.doNotShowWarningForFileToBeSavedBeforeLinting": {
"type": "boolean",
"default": false,
"description": "Do not show warning dialog that a file must be saved to be linted."
},
"vale.readabilityProblemLocation": {
"type": "string",
"enum": [
"status",
"inline",
"both"
],
"default": "status",
"markdownEnumDescriptions": [
"Displays readability problems in the status bar.",
"Displays readability problems inline with other problems.",
"Displays readability problems both in the status bar and inline in the file."
],
"markdownDescription": "Determines where file-level readability problems are displayed."
},
"vale.enableSpellcheck": {
"type": "boolean",
"default": false,
"description": "Enable spell checking with Vale."
}
}
}
},
"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 production",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.12",
"@types/nspell": "^2.1.6",
"@types/vscode": "^1.89.0",
"@types/which": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^8.0.0-alpha.14",
"@typescript-eslint/parser": "^8.0.0-alpha.14",
"copy-webpack-plugin": "^12.0.2",
"eslint": "^9.3.0",
"glob": "^10.3.15",
"mocha": "^10.4.0",
"rxjs": "^7.8.1",
"ts-loader": "^9.5.1",
"tslint": "^6.1.3",
"typescript": "^5.4.5",
"vscode-test": "^1.6.1",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"fs": "0.0.1-security",
"nspell": "^2.1.5",
"which": "^4.0.0",
"dictionary-en": "^4.0.0"
}
}