-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.91 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.91 KB
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
{
"name": "mdsmith",
"displayName": "mdsmith",
"description": "Inline mdsmith diagnostics and quick fixes for Markdown via the mdsmith Language Server.",
"version": "0.0.0-dev",
"publisher": "jeduden",
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Linters",
"Formatters",
"Programming Languages"
],
"keywords": [
"markdown",
"linter",
"formatter",
"mdsmith",
"language-server"
],
"repository": {
"type": "git",
"url": "https://github.com/jeduden/mdsmith"
},
"main": "./dist/extension.js",
"activationEvents": [
"onLanguage:markdown"
],
"contributes": {
"commands": [
{
"command": "mdsmith.restartServer",
"title": "Restart Language Server",
"category": "mdsmith"
},
{
"command": "mdsmith.showOutput",
"title": "Show Output Channel",
"category": "mdsmith"
}
],
"configuration": {
"title": "mdsmith",
"properties": {
"mdsmith.path": {
"type": "string",
"default": "mdsmith",
"description": "Path to the mdsmith binary. Defaults to the bundled cross-platform binary from @mdsmith/cli (works on Linux, macOS, Windows from a single install). If the bundled binary is unavailable, falls back to resolving 'mdsmith' against PATH. Set to an absolute path if you installed mdsmith elsewhere (e.g. /go/bin/mdsmith)."
},
"mdsmith.config": {
"type": "string",
"default": "",
"description": "Override the .mdsmith.yml path (-c). Empty defers to the auto-discovered config."
},
"mdsmith.run": {
"type": "string",
"enum": ["onType", "onSave", "off"],
"default": "onSave",
"description": "When to run the linter. `onSave` re-lints on save. `onType` re-lints with each keystroke (debounced). `off` disables linting."
},
"mdsmith.fixOnSave": {
"type": "boolean",
"default": false,
"description": "Run mdsmith fix on save. Equivalent to wiring source.fixAll.mdsmith into editor.codeActionsOnSave."
},
"mdsmith.trace.server": {
"type": "string",
"enum": ["off", "messages", "verbose"],
"default": "off",
"description": "LSP trace verbosity. Output appears in the 'mdsmith' Output channel."
}
}
}
},
"scripts": {
"compile": "bun run build.ts",
"watch": "bun run build.ts --watch",
"test": "bun test",
"package": "vsce package --out mdsmith.vsix",
"vscode:prepublish": "bun run build.ts --production"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"optionalDependencies": {
"@mdsmith/cli": "0.0.0-dev"
},
"devDependencies": {
"@types/bun": "^1.1.0",
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^3.0.0",
"typescript": "^5.4.0"
}
}