/
package.json
156 lines (156 loc) · 3.86 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
{
"name": "hakana-vscode-plugin",
"displayName": "Hakana",
"description": "VS Code Plugin for Hakana",
"author": "Matt Brown",
"license": "MIT",
"version": "2.7.14",
"publisher": "MattBrown",
"categories": [
"Linters",
"Programming Languages"
],
"icon": "icon.png",
"galleryBanner": {
"color": "#582a24",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/slackhq/hakana"
},
"engines": {
"vscode": "^1.77.0"
},
"activationEvents": [
"onLanguage:hack",
"workspaceContains:**/*.(php|hack|hhi)",
"workspaceContains:**/hakana.json"
],
"main": "./dist/extension",
"scripts": {
"lint": "tslint -c tslint.json \"src/**/*.ts\"",
"semantic-release": "semantic-release",
"build": "webpack --mode production",
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch --progress",
"test-compile": "tsc -p ./",
"package": "vsce package",
"publish": "vsce publish"
},
"capabilities": {},
"extensionKind": [
"workspace"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Hack - Hakana Analyzer",
"properties": {
"hakana.path": {
"type": "string",
"default": "hakana-language-server",
"description": "If provided, this overrides the Hakana path to use, e.g. bin/hakana-language-server. (Modifying requires VSCode reload)"
},
"hakana.logLevel": {
"type": "string",
"enum": [
"NONE",
"ERROR",
"WARN",
"INFO",
"DEBUG",
"TRACE"
],
"default": "DEBUG",
"description": "Traces the communication between VSCode and the Hakana language server.",
"scope": "window"
},
"hakana.hideStatusMessageWhenRunning": {
"type": "boolean",
"default": true,
"description": "This will hide the Hakana status from the status bar when it is started and running. This is useful to clear up a cluttered status bar."
},
"hakana.maxRestartCount": {
"type": "number",
"default": 5,
"description": "The number of times the Language Server is allowed to crash and restart before it will no longer try to restart (Modifying requires VSCode reload)"
},
"hakana.docker.enabled": {
"type": "boolean",
"default": false,
"description": "Run the Hack language tools inside Docker"
},
"hakana.docker.workspacePath": {
"type": "string",
"description": "Absolute location of workspace root in the remote file system"
},
"hakana.docker.containerName": {
"type": "string",
"description": "Name of the local Docker container to run Hakana in"
}
}
},
"commands": [
{
"command": "hakana.restartHakanaServer",
"title": "Restart Hakana Language server",
"category": "Hakana"
},
{
"command": "hakana.analyzeWorkSpace",
"title": "Analyze Workspace",
"category": "Hakana"
},
{
"command": "hakana.reportIssue",
"title": "Report Issue",
"category": "Hakana"
},
{
"command": "hakana.showOutput",
"title": "Show Output",
"category": "Hakana"
}
],
"menus": {
"commandPalette": [
{
"command": "hakana.restartHakanaServer"
},
{
"command": "hakana.analyzeWorkSpace"
},
{
"command": "hakana.reportIssue"
},
{
"command": "hakana.showOutput"
}
]
}
},
"devDependencies": {
"@types/node": "^14.18.36",
"@types/semver": "^7.3.13",
"@types/vscode": "^1.77",
"@types/which": "^2.0.2",
"@vscode/vsce": "^2.19.0",
"prettier": "^2.8.4",
"ts-loader": "^9.4.2",
"tslint": "^6.1.3",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@types/fs-extra": "^11.0.1",
"fs-extra": "^11.1.0",
"mz": "^2.7.0",
"promisify-child-process": "^4.1.1",
"semver": "^7.5.2",
"vscode-languageclient": "^8.1.0",
"which": "^3.0.0"
}
}