-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
executable file
·149 lines (149 loc) · 4.21 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
{
"name": "command-server",
"displayName": "Command server",
"description": "Exposes a file-based RPC API for running VSCode commands",
"publisher": "pokey",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cursorless-dev/command-server"
},
"version": "0.12.0",
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"extensionKind": [
"ui"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Untrusted workspaces can't override allowList / denyList",
"restrictedConfigurations": [
"allowList",
"denyList"
]
}
},
"contributes": {
"commands": [
{
"command": "command-server.runCommand",
"title": "Read command description from a file and execute the command"
},
{
"command": "command-server.getFocusedElementType",
"title": "Returns the type of the currently focused element in vscode"
}
],
"keybindings": [
{
"command": "command-server.runCommand",
"key": "ctrl+shift+f17",
"mac": "cmd+shift+f17",
"args": "other"
},
{
"command": "command-server.runCommand",
"key": "ctrl+shift+alt+p",
"mac": "cmd+shift+alt+p",
"args": "other"
},
{
"command": "command-server.runCommand",
"key": "ctrl+shift+f17",
"mac": "cmd+shift+f17",
"when": "editorTextFocus",
"args": "textEditor"
},
{
"command": "command-server.runCommand",
"key": "ctrl+shift+alt+p",
"mac": "cmd+shift+alt+p",
"when": "editorTextFocus",
"args": "textEditor"
},
{
"command": "command-server.runCommand",
"key": "ctrl+shift+f17",
"mac": "cmd+shift+f17",
"when": "terminalFocus",
"args": "terminal"
},
{
"command": "command-server.runCommand",
"key": "ctrl+shift+alt+p",
"mac": "cmd+shift+alt+p",
"when": "terminalFocus",
"args": "terminal"
}
],
"configurationDefaults": {
"terminal.integrated.commandsToSkipShell": [
"command-server.runCommand"
]
},
"configuration": {
"title": "Command server",
"properties": {
"command-server.allowList": {
"type": "array",
"default": [
"*"
],
"description": "Commands to allow. Supports simple glob syntax"
},
"command-server.denyList": {
"type": "array",
"default": [],
"description": "Commands to deny. Supports simple glob syntax"
},
"command-server.backgroundWindowProtection": {
"type": "boolean",
"default": false,
"description": "Whether to enable protection against background windows executing a command"
},
"command-server.communicationDirLocation": {
"type": "string",
"default": "",
"description": "The directory in which the command server will create a directory to communicate with the client. You shouldn't set this unless your TMPDIR/TEMP/TMP environment variables are inconsistent between VS Code and the Talon/Python command client. Currently, this is only useful when set to a temporary directory."
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"vscode:uninstall": "node ./out/uninstall.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^15.12.1",
"@types/rimraf": "^3.0.0",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1"
},
"dependencies": {
"minimatch": "^3.0.4",
"rimraf": "^3.0.2",
"talon-rpc": "2.2.0"
}
}