forked from google/reflow-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.98 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
{
"name": "reflowlist",
"version": "0.5.2",
"publisher": "google",
"engines": {
"vscode": "^1.46.0"
},
"license": "Apache-2.0",
"displayName": "ReflowList",
"description": "Reflows text, handling lists cleanly.",
"homepage": "http://github.com/google/reflow-list",
"repository": "https://github.com/google/reflow-list",
"categories": [
"Formatters"
],
"keywords": ["reflow", "reformat", "paragraph", "bulleted list", "numbered list"],
"main": "./out/extension.js",
"activationEvents": [
"onCommand:reflowlist.reflowParagraph"
],
"contributes": {
"commands": [
{
"command": "reflowlist.reflowParagraph",
"title": "Reflow the current text."
}
],
"configuration": {
"title": "Reflow",
"properties": {
"reflowlist.commentRegexp": {
"type": "string",
"default": "^\\s*(?://|#|\\>)",
"description": "Regular expression matching comments to reformat. This does not include ' * ' for multiline /* ... */ comments; these are handled separately."
},
"reflowlist.listStartRegexp": {
"type": "string",
"default": "^(-|o|:|\\*|[a-zA-Z][.)]|\\d+[.)])\\s+",
"description": "Regular expression matching list begin elements. The regular expression matches after a leading comment + whitespace have been removed. This should end with a trailing \\s+."
},
"reflowlist.additionalParagraphEndingsRegexp": {
"type": "string",
"default": "^(```|'''|\"\"\"|{|})",
"description": "Additional strings (besides changes in whitespace) that imply end of a paragraph. The regular expression matches after a leading comment + whitespace have been removed."
},
"reflowlist.definitionListRegexp": {
"type": "string",
"default": "^(?:@\\w+\\s+\\S+|\\w+:)\\s+",
"description": "Regular expression matching the start of a definition list. Any leading comment + whitespace have been removed."
},
"reflowlist.wrapColumn": {
"type": "integer",
"default": 80,
"description": "What column to wrap at."
},
"reflowlist.extraIndentForDescriptionList": {
"type": "integer",
"default": 2,
"description": "Extra indent for the second line of a description list element."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.46.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
}
}