-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
114 lines (114 loc) · 4.1 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
{
"name": "vscode-erb-beautify",
"displayName": "ERB Formatter/Beautify",
"description": "Format/Beautify ERB files",
"version": "0.4.3",
"publisher": "aliariff",
"license": "MIT",
"bugs": "https://github.com/aliariff/vscode-erb-beautify/issues",
"repository": {
"type": "git",
"url": "https://github.com/aliariff/vscode-erb-beautify"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:erb"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "erb",
"aliases": [
"ERB"
],
"extensions": [
".erb",
".html.erb"
]
}
],
"configuration": {
"type": "object",
"title": "VSCode ERB Beautify configuration",
"properties": {
"vscode-erb-beautify.executePath": {
"type": "string",
"default": "htmlbeautifier",
"description": "Path to the htmlbeautifier executable, set this to absolute path when you have different htmlbeautifier location"
},
"vscode-erb-beautify.useBundler": {
"type": "boolean",
"default": false,
"description": "Execute htmlbeautifier using bundler (ie 'bundle exec htmlbeautifier'). If this true, vscode-erb-beautify.executePath is ignored"
},
"vscode-erb-beautify.bundlerPath": {
"type": "string",
"default": "bundle",
"description": "Path to the bundler executable, set this to absolute path when you have different bundler location"
},
"vscode-erb-beautify.tabStops": {
"type": "number",
"default": 2,
"description": "Set number of spaces per indent (default 2)"
},
"vscode-erb-beautify.tab": {
"type": "boolean",
"default": false,
"description": "Indent using tabs"
},
"vscode-erb-beautify.indentBy": {
"type": "number",
"default": 0,
"description": "Indent the output by NUMBER steps (default 0)"
},
"vscode-erb-beautify.stopOnErrors": {
"type": "boolean",
"default": false,
"description": "Stop when invalid nesting is encountered in the input"
},
"vscode-erb-beautify.keepBlankLines": {
"type": "number",
"default": 0,
"description": "Set number of consecutive blank lines (default 0)"
},
"vscode-erb-beautify.customEnvVar": {
"type": "object",
"default": {},
"description": "Custom environment variables to pass to the htmlbeautifier"
}
}
}
},
"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": "vscode-test"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"semantic-release": "^23.0.2",
"semantic-release-vsce": "^5.6.4",
"typescript": "^5.3.3"
},
"dependencies": {
"is-wsl": "^2.2.0"
}
}