-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
94 lines (94 loc) · 2.37 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
{
"name": "phpstan",
"displayName": "PHP Static Analysis",
"description": "Static analysis support for PHP with PhpStan",
"version": "1.1.5",
"license": "MIT",
"publisher": "breezelin",
"engines": {
"vscode": "^1.40.0"
},
"icon": "images/icon.png",
"categories": [
"Linters"
],
"activationEvents": [
"onLanguage:php"
],
"repository": {
"type": "github",
"url": "https://github.com/breeze2/vscode-phpstan"
},
"main": "./out/extension",
"contributes": {
"configuration": [
{
"type": "object",
"title": "PhpStan Configuration",
"properties": {
"phpstan.level": {
"type": "string",
"default": "max",
"description": "PhpStan rule levels 0-7, \"config\" indicates that it's set in config file"
},
"phpstan.noProgress": {
"type": "boolean",
"default": true,
"description": "PhpStan no progress output"
},
"phpstan.memoryLimit": {
"type": "string",
"default": "512M",
"description": "PhpStan memory limit"
},
"phpstan.configuration": {
"type": "string",
"default": null,
"description": "PhpStan configuration path"
},
"phpstan.autoloadFile": {
"type": "string",
"default": null,
"description": "PhpStan autoload-file path"
}
}
}
],
"commands": [
{
"command": "extension.phpstanLintThisFile",
"title": "PhpStan: Lint this file"
},
{
"command": "extension.phpstanLintThisFolder",
"title": "PhpStan: Lint this folder"
}
],
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"command": "extension.phpstanLintThisFolder"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.7",
"@types/node": "^12.11.7",
"@types/vscode": "^1.40.0",
"glob": "^7.1.5",
"mocha": "^6.2.2",
"typescript": "^3.6.4",
"tslint": "^5.20.0",
"vscode-test": "^1.2.2"
}
}