forked from dontrolle/vscode-reflow-lines
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
101 lines (101 loc) · 2.91 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
{
"name": "reflow-markdown",
"displayName": "Reflow Markdown",
"description": "Format lines in markdown headers, paragraphs, blockquotes, lists, etc. to a preferred line-length.",
"version": "3.1.0",
"publisher": "marvhen",
"icon": "img/logo.png",
"license": "MIT",
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Formatters"
],
"keywords": [
"markdown",
"text",
"format",
"reflow",
"wrap"
],
"repository": {
"type": "git",
"url": "https://github.com/marvhen/reflowmarkdown"
},
"galleryBanner": {
"color": "#000000",
"theme": "dark"
},
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Reflow Markdown configuration",
"properties": {
"reflowMarkdown.preferredLineLength": {
"type": "number",
"default": 80,
"description": "Preferred line length for reflowed lines.",
"minimum": 0
},
"reflowMarkdown.doubleSpaceBetweenSentences": {
"type": "boolean",
"default": false,
"description": "Insert two spaces instead of one between each sentence."
},
"reflowMarkdown.resizeHeaderDashLines": {
"type": "boolean",
"default": false,
"description": "The dashes and equal signs under headers will be re-written to be the same length as the header text."
},
"reflowMarkdown.wrapLongLinks": {
"type": "string",
"default": "wrap",
"description": "Specifies how links will be wrapped when they in the middle of a line and cause it to extend beyond the preferred length.",
"enum": [
"wrap",
"doNotWrap"
],
"enumDescriptions": [
"The link text and the link url are started on the next line, which itself may be longer than the preferrd length.",
"The link text and the link url are kept on the current line, resulting in it being longer than the preferred length."
]
}
}
},
"commands": [
{
"command": "reflow-markdown.reflowMarkdown",
"title": "Reflow Markdown"
}
],
"keybindings": [
{
"command": "reflow-markdown.reflowMarkdown",
"key": "alt+q",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.16.0",
"typescript": "^5.7.2"
}
}