-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.9 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.9 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
98
99
100
101
{
"name": "format-erb",
"publisher": "tomclose",
"displayName": "FormatERB",
"description": "Format ERB using the htmlbeautifier gem",
"repository": {
"type": "git",
"url": "https://github.com/tomclose/format-erb"
},
"version": "0.0.2",
"engines": {
"vscode": "^1.55.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:erb"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "erb",
"extensions": [
".erb",
".html.erb"
]
}
],
"configuration": {
"type": "object",
"title": "Format ERB settings",
"properties": {
"format-erb.commandPath": {
"type": "string",
"default": "htmlbeautifier",
"description": "Path to the htmlbeautify command. Set this to an absolute path to select from multiple installed Ruby versions.",
"scope": "resource"
},
"format-erb.useBundler": {
"type": "boolean",
"description": "Use `bundle exec` to run htmlbeautify. (If this is true, the format-erb.commandPath setting is ignored.)",
"default": false
},
"format-erb.bundlerPath": {
"type": "string",
"description": "Path to the bundle executable, defaults to 'bundle'. Needs to be an absolute path for the 'bundle' exec/shim",
"default": "bundle",
"scope": "resource"
},
"format-erb.tabStops": {
"type": "number",
"default": 2,
"description": "Set number of spaces per indent (default 2)"
},
"format-erb.tab": {
"type": "boolean",
"default": false,
"description": "Indent using tabs"
},
"format-erb.indentBy": {
"type": "number",
"default": 0,
"description": "Indent the output by NUMBER steps (default 0)"
},
"format-erb.stopOnErrors": {
"type": "boolean",
"default": false,
"description": "Stop when invalid nesting is encountered in the input"
},
"format-erb.keepBlankLines": {
"type": "number",
"default": 1,
"description": "Set number of consecutive blank lines (default 0)"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.55.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"eslint": "^7.19.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
}
}