-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
196 lines (196 loc) · 6.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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "hammerspoon",
"displayName": "Hammerspoon",
"publisher": "virgilsisoe",
"description": "Hammerspoon extension for Visual Studio Code",
"version": "0.5.2",
"engines": {
"vscode": "^1.63.0"
},
"extensionPack": [
"sumneko.lua"
],
"categories": [
"Other"
],
"keywords": [
"hammerspoon",
"lua"
],
"repository": {
"type": "git",
"url": "https://github.com/sisoe24/hammerspoon-vscode"
},
"license": "MIT",
"icon": "images/hammerspoon_icon.png",
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "hammerspoon.addStubs",
"title": "Add Hammerspoon stubs",
"category": "Hammerspoon"
},
{
"command": "hammerspoon.connect",
"title": "Toggle server connection",
"category": "Hammerspoon"
},
{
"command": "hammerspoon.createSpoon",
"title": "Create Spoon",
"category": "Hammerspoon"
},
{
"command": "hammerspoon.generateSpoonDoc",
"title": "Generate Spoon documentation",
"category": "Hammerspoon"
},
{
"command": "hammerspoon.showConsole",
"title": "Show Hammerspoon Console",
"category": "Hammerspoon"
},
{
"command": "hammerspoon.reloadConfiguration",
"title": "Reload Hammerspoon configuration.",
"category": "Hammerspoon",
"icon": {
"dark": "images/sync-light.svg",
"light": "images/sync-dark.svg"
}
},
{
"command": "hammerspoon.evaluateCurrentFileText",
"title": "Load/Evaluate File",
"category": "Hammerspoon"
},
{
"command": "hammerspoon.evaluateSelectedText",
"title": "Evaluate Selection",
"category": "Hammerspoon"
},
{
"command": "hammerspoon.evaluateCurrentLineText",
"title": "Evaluate Line",
"category": "Hammerspoon"
}
],
"configuration": {
"title": "Hammerspoon",
"properties": {
"hammerspoon.enableLegacyProviders": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable legacy suggestions. Discontinued and discouraged."
},
"hammerspoon.console.focusOutputWindow": {
"type": "boolean",
"markdownDescription": "Focus the output window when a command is executed",
"default": true
},
"hammerspoon.console.filterOutput": {
"type": "array",
"markdownDescription": "Filter output lines based on regex match"
},
"hammerspoon.spoons.path": {
"type": "string",
"markdownDescription": "Default path of the Spoons directory",
"default": "~/.hammerspoon/Spoons"
},
"hammerspoon.network.port": {
"type": "number",
"markdownDescription": "A TCP port where to listen to the incoming connection from Hammerspoon",
"default": 54321
},
"hammerspoon.spoons.extraDocumentation": {
"type": "object",
"markdownDescription": "Generate extra HTML/Markdown of the Spoon documentation.\n\nRequires path of the Hammerspoon source code directory and its python interpreter path. More info on the README.",
"default": {
"repository-path": "",
"interpreter-path": ""
}
}
}
},
"submenus": [
{
"id": "hammerspoon.repl",
"title": "Hammerspoon",
"when": "editorTextFocus && resourceLangId == lua",
"group": "hammerspoon",
"label": "Hammerspoon"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == lua",
"command": "hammerspoon.reloadConfiguration",
"group": "navigation"
}
],
"editor/context": [
{
"submenu": "hammerspoon.repl",
"group": "hammerspoon"
}
],
"hammerspoon.repl": [
{
"when": "resourceLangId == lua",
"command": "hammerspoon.reloadConfiguration",
"group": "hammerspoon"
},
{
"when": "editorTextFocus && resourceLangId == lua",
"command": "hammerspoon.evaluateCurrentFileText",
"group": "hammerspoon"
},
{
"when": "editorTextFocus && resourceLangId == lua",
"command": "hammerspoon.evaluateSelectedText",
"group": "hammerspoon"
},
{
"when": "editorTextFocus && resourceLangId == lua",
"command": "hammerspoon.evaluateCurrentLineText",
"group": "hammerspoon"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@vscode/test-electron": "^1.6.2",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.1.3",
"source-map-support": "^0.5.21",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"dependencies": {
"@types/luaparse": "^0.2.8",
"axios": "^1.5.0",
"extract-zip": "^2.0.1",
"luaparse": "^0.3.1"
}
}