-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
172 lines (172 loc) · 5.31 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
{
"name": "laravel-pint",
"displayName": "Laravel Pint",
"version": "1.3.0",
"description": "Integrates Laravel Pint into your VSCode projects for automatic code formatting",
"publisher": "open-southeners",
"icon": "images/laravel-pint-logo-icon.png",
"categories": [
"Formatters"
],
"keywords": [
"multi-root ready",
"formatter",
"php",
"code formatting",
"code styling",
"utilities",
"laravel",
"laravel pint"
],
"qna": "https://github.com/open-southeners/vscode-laravel-pint/discussions",
"bugs": {
"url": "https://github.com/open-southeners/vscode-laravel-pint/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/open-southeners/vscode-laravel-pint.git"
},
"capabilities": {
"virtualWorkspaces": {
"supported": "limited",
"description": "Laravel Pint does not fully support some filesystem environments, except containers or WSL (Windows)"
},
"untrustedWorkspaces": {
"supported": "limited",
"description": "Laravel Pint will not run any code hosted on untrusted workspaces, although it can still fallback to global/user-defined binaries"
}
},
"main": "./out/extension.js",
"scripts": {
"bundle": "yarn run vscode:prepublish && vsce package",
"compile": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"deploy": "vsce publish --yarn",
"esbuild": "yarn run compile --sourcemap",
"lint": "eslint src --ext ts",
"lint:fix": "yarn run lint --fix",
"transpile": "tsc -p ./",
"pretest": "yarn run transpile && yarn run lint",
"test": "node ./out/test/runTest.js",
"vscode:prepublish": "yarn run compile --minify",
"watch": "yarn run compile --sourcemap --watch"
},
"contributes": {
"commands": [
{
"command": "laravel-pint.format",
"title": "Format document using Laravel Pint",
"enablement": "editorLangId == php || resourceExtname == .php"
},
{
"command": "laravel-pint.formatProject",
"title": "Format active workspace files using Laravel Pint"
}
],
"configuration": {
"title": "Laravel Pint",
"type": "object",
"properties": {
"laravel-pint.fallbackToGlobalBin": {
"type": "boolean",
"default": true,
"markdownDescription": "%ext.config.fallbackToGlobalBin%",
"scope": "resource"
},
"laravel-pint.executablePath": {
"isExecutable": true,
"type": "string",
"markdownDescription": "%ext.config.executablePath%",
"scope": "resource"
},
"laravel-pint.configPath": {
"type": "string",
"markdownDescription": "%ext.config.configPath%",
"scope": "resource"
},
"laravel-pint.preset": {
"type": "string",
"enum": [
"auto",
"laravel",
"psr12",
"symfony",
"per"
],
"default": "auto",
"markdownDescription": "%ext.config.preset%",
"scope": "resource"
},
"laravel-pint.enable": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.enable%",
"scope": "resource"
},
"laravel-pint.enableDebugLogs": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.enableDebugLogs%",
"scope": "resource"
},
"laravel-pint.runInLaravelSail": {
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.runInLaravelSail%",
"scope": "resource"
},
"laravel-pint.sailExecutablePath": {
"isExecutable": true,
"type": "string",
"markdownDescription": "%ext.config.sailExecutablePath%",
"scope": "resource"
},
"laravel-pint.dirtyOnly": {
"default": false,
"type": "boolean",
"markdownDescription": "%ext.config.dirtyOnly%",
"scope": "resource"
}
}
},
"jsonValidation": [
{
"fileMatch": "pint.json",
"url": "https://raw.githubusercontent.com/open-southeners/vscode-laravel-pint/main/pint-schema.json"
}
]
},
"activationEvents": [
"onStartupFinished"
],
"devDependencies": {
"@types/command-exists": "^1.2.0",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^8.0.0",
"@types/mocha": "^9.1.1",
"@types/node": "18.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vscode/test-electron": "^2.1.2",
"@vscode/vsce": "^2.19.0",
"command-exists": "^1.2.9",
"esbuild": "^0.15.15",
"eslint": "^8.28.0",
"fs-extra": "^10.1.0",
"glob": "^10.3.3",
"mocha": "^9.2.2",
"node-fetch": "^3.3.0",
"ovsx": "^0.5.2",
"typescript": "^4.9.3"
},
"engines": {
"vscode": "^1.82.0"
},
"__metadata": {
"id": "6828d529-8cfe-4935-9607-fc07294f1cc0",
"publisherDisplayName": "Open Southeners",
"publisherId": "158876d3-17b8-41c8-9af0-204a740fc57d",
"isPreReleaseVersion": false
},
"packageManager": "yarn@4.1.0+sha256.81a00df816059803e6b5148acf03ce313cad36b7f6e5af6efa040a15981a6ffb"
}