-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
181 lines (181 loc) · 4.76 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
{
"name": "phpstan-vscode",
"displayName": "PHPStan",
"version": "2.0.3",
"description": "PHPStan for VSCode",
"categories": [
"Linters",
"Programming Languages"
],
"keywords": [
"php",
"phpstan",
"linter",
"problems",
"errors",
"analyse"
],
"bugs": {
"url": "https://github.com/swordev/phpstan-vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/swordev/phpstan-vscode.git"
},
"license": "MIT",
"author": "Juanra Gálvez <[email protected]>",
"publisher": "swordev",
"main": "./dist/index.js",
"files": [
"assets",
"dist"
],
"scripts": {
"build": "pnpm build:src && pnpm build:vsce",
"build:src": "vite build",
"build:vsce": "node scripts/build-vsce.mjs",
"check": "pnpm check:format && pnpm check:lint",
"check:format": "prettier --cache -c .",
"check:lint": "eslint --cache . --ext .ts,.js,.json",
"format": "prettier --cache -w .",
"start": "vite build --watch"
},
"contributes": {
"commands": [
{
"command": "phpstan.analyse",
"title": "PHPStan: Analyse"
},
{
"command": "phpstan.analyseCurrentPath",
"title": "PHPStan: Analyse current path"
},
{
"command": "phpstan.clearCache",
"title": "PHPStan: Clear cache"
},
{
"command": "phpstan.clearProblems",
"title": "PHPStan: Clear problems"
},
{
"command": "phpstan.pauseFileWatcher",
"title": "PHPStan: Pause file watcher"
},
{
"command": "phpstan.resumeFileWatcher",
"title": "PHPStan: Resume file watcher"
},
{
"command": "phpstan.showOutput",
"title": "PHPStan: Show output"
},
{
"command": "phpstan.stopAnalyse",
"title": "PHPStan: Stop analyse"
},
{
"command": "phpstan.toggleFileWatcher",
"title": "PHPStan: Toggle file watcher"
}
],
"configuration": {
"type": "object",
"title": "PHPStan",
"properties": {
"phpstan.enabled": {
"type": "boolean",
"description": "Enables PHPStan",
"default": true
},
"phpstan.path": {
"type": "string",
"description": "PHPStan binary path",
"default": "./vendor/phpstan/phpstan/phpstan"
},
"phpstan.phpPath": {
"type": "string",
"description": "PHP binary path",
"default": "php"
},
"phpstan.memoryLimit": {
"type": "string",
"description": "PHP memory limit",
"default": "-1"
},
"phpstan.fileWatcher": {
"type": "boolean",
"description": "Enables file watcher",
"default": true
},
"phpstan.configFileWatcher": {
"type": "boolean",
"description": "Enables config file watcher",
"default": true
},
"phpstan.configPath": {
"type": "string",
"description": "PHPStan config path",
"default": "{phpstan.neon,phpstan.neon.dist}"
},
"phpstan.analysedDelay": {
"type": "integer",
"description": "Milliseconds delay between file changes before run analyse",
"default": 200
},
"phpstan.initialAnalysis": {
"type": "boolean",
"description": "Runs the analyse command on startup",
"default": true
}
}
},
"menus": {
"explorer/context": [
{
"command": "phpstan.analyseCurrentPath",
"when": "resourceLangId == php && phpstan:enabled"
},
{
"command": "phpstan.analyseCurrentPath",
"when": "explorerResourceIsFolder && phpstan:enabled"
}
]
}
},
"activationEvents": [
"onLanguage:php",
"workspaceContains:**/phpstan.neon",
"workspaceContains:**/phpstan.neon.dist"
],
"dependencies": {
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.4",
"@changesets/get-release-plan": "^3.0.14",
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"@types/js-yaml": "^4.0.5",
"@types/node": "^18.7.18",
"@types/vscode": "^1.71.0",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"eslint": "^8.23.1",
"prettier": "2.7.1",
"prettier-plugin-packagejson": "^2.2.18",
"prettier-plugin-sort-json": "^0.0.3",
"rimraf": "^3.0.2",
"typescript": "^4.8.3",
"vite": "^3.1.2",
"vite-plugin-checker": "^0.5.1",
"vsce": "^2.11.0"
},
"engines": {
"vscode": "^1.71.0"
},
"icon": "assets/logo.png",
"sponsor": {
"url": "https://github.com/sponsors/juanrgm"
}
}