-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
208 lines (208 loc) · 5.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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "vscode-blade-formatter",
"publisher": "shufo",
"displayName": "Laravel Blade formatter",
"description": "Laravel Blade formatter for VSCode",
"version": "0.20.14",
"license": "MIT",
"engines": {
"vscode": "^1.57.0",
"node": ">= 10.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/shufo/vscode-blade-formatter.git"
},
"categories": [
"Formatters"
],
"keywords": [
"blade",
"formatter",
"laravel",
"template"
],
"galleryBanner": {
"color": "#ffe04b",
"theme": "light"
},
"author": "Shuhei Hayashibara <@shufo>",
"icon": "icon.png",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-blade-formatter.format",
"title": "Blade: Format Document"
}
],
"jsonValidation": [
{
"fileMatch": ".bladeformatterrc.json",
"url": "./schemas/bladeformatterrc.schema.json"
},
{
"fileMatch": ".bladeformatterrc",
"url": "./schemas/bladeformatterrc.schema.json"
}
],
"languages": [
{
"id": "blade",
"aliases": [
"Blade",
"blade"
],
"extensions": [
".blade.php"
]
},
{
"id": "json",
"filenames": [
".bladeformatterrc"
]
}
],
"configuration": {
"type": "object",
"title": "Blade Formatter",
"properties": {
"bladeFormatter.format.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether it enables format"
},
"bladeFormatter.format.indentSize": {
"type": "integer",
"default": 4,
"markdownDescription": "Indent size"
},
"bladeFormatter.format.wrapLineLength": {
"type": "integer",
"default": 120,
"markdownDescription": "The length of line wrap size"
},
"bladeFormatter.format.wrapAttributes": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"force",
"force-aligned",
"force-expand-multiline",
"aligned-multiple",
"preserve",
"preserve-aligned"
],
"markdownDescription": "The way to wrap attributes"
},
"bladeFormatter.format.useTabs": {
"type": "boolean",
"default": false,
"markdownDescription": "Use tab as indentation character"
},
"bladeFormatter.format.sortTailwindcssClasses": {
"type": "boolean",
"default": false,
"markdownDescription": "Sort Tailwindcss Classes automatically"
},
"bladeFormatter.format.sortHtmlAttributes": {
"type": "string",
"default": "none",
"enum": [
"none",
"alphabetical",
"code-guide",
"idiomatic",
"vuejs",
"custom"
],
"markdownDescription": "Sort HTML Attributes in the specified order"
},
"bladeFormatter.format.noMultipleEmptyLines": {
"type": "boolean",
"default": false,
"markdownDescription": "Collapses multiple blank lines into a single blank line"
},
"bladeFormatter.format.noPhpSyntaxCheck": {
"type": "boolean",
"default": false,
"markdownDescription": "Disable PHP syntax check. Enabling this will suppress PHP syntax error reporting."
},
"bladeFormatter.format.customHtmlAttributesOrder": {
"type": "string",
"default": "",
"markdownDescription": "Comma separated custom HTML attributes order. e.g. `id, data-.+, class, name`. To enable this you must specify sort html attributes option as `custom`. You can use regex for attribute names."
},
"bladeFormatter.misc.dontShowNewVersionMessage": {
"type": "boolean",
"default": false,
"markdownDescription": "If set to 'true', the new version message won't be shown anymore."
}
}
}
},
"activationEvents": [
"onLanguage:blade"
],
"scripts": {
"lint": "eslint src --ext ts",
"fix": "eslint src --ext ts --fix",
"pretest": "yarn run compile && yarn run compile-tests",
"test": "node ./out/test/runTest.js",
"compile": "webpack --progress",
"build": "webpack --progress",
"watch": "webpack --watch",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -w -p . --outDir out",
"package-extension": "webpack --mode production --devtool hidden-source-map --progress",
"changelog": "conventional-changelog -i CHANGELOG.md -p eslint -s -r 0",
"package": "vsce package --yarn",
"publish": "vsce publish --yarn"
},
"devDependencies": {
"@jest/types": "^29.0.0",
"@types/find-config": "^1.0.1",
"@types/glob": "^8.0.0",
"@types/mocha": "10.0.1",
"@types/node": "^18.0.0",
"@types/tailwindcss": "^3.1.0",
"@types/vscode": "^1.57.0",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"@vscode/test-electron": "^2.1.4",
"@zeit/eslint-config-node": "^0.3.0",
"app-root-path": "^3.0.0",
"babel-jest": "^29.0.0",
"conventional-changelog-cli": "^2.0.34",
"debug": "4.3.4",
"dotenv-webpack": "8.0.1",
"eslint": "8.38.0",
"glob": "8.1.0",
"mocha": "^10.0.0",
"ts-jest": "29.1.0",
"ts-loader": "9.4.2",
"ts-migrate": "0.1.35",
"ts-node": "10.9.1",
"typescript": "5.0.4",
"webpack": "5.79.0",
"webpack-cli": "4.10.0",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"ajv": "^8.12.0",
"blade-formatter": "^1.32.12",
"find-config": "^1.0.0",
"ignore": "^5.2.4",
"tailwindcss": "^3.2.7",
"vscode-extension-telemetry": "^0.4.5"
},
"optionalDependencies": {
"fsevents": "*",
"kind-of": "*"
},
"sponsor": {
"url": "https://github.com/sponsors/shufo"
}
}