-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 2.89 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
{
"name": "execute-in-iterm2",
"displayName": "Execute in iTerm2",
"publisher": "virgilsisoe",
"license": "MIT",
"icon": "images/iterm_icon.png",
"repository": {
"type": "git",
"url": "https://github.com/sisoe24/execute-in-iterm2"
},
"keywords": [
"iTerm",
"Terminal",
"python",
"javascript",
"typescript",
"c++",
"perl",
"shell",
"log",
"lua",
"php"
],
"description": "Execute the current active file inside iTerm2.",
"version": "0.3.1",
"engines": {
"vscode": "^1.64.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "execute-in-iterm2.executeFileCommand",
"title": "Execute file command",
"category": "iTerm2",
"icon": {
"dark": "images/execute-dark.svg",
"light": "images/execute-light.svg"
}
},
{
"command": "execute-in-iterm2.openDirectory",
"title": "New iTerm2 window here"
},
{
"command": "execute-in-iterm2.executeInputCommand",
"title": "Execute command",
"category": "iTerm2"
}
],
"configuration": [
{
"title": "Send to iTerm2",
"properties": {
"executeInITerm2.pythonPath": {
"type": "string",
"markdownDescription": "iTerm2 Python path or a Python interpreter that has access to `iTerm2` and `pyobjc` modules"
},
"executeInITerm2.fileCommands": {
"type": "object",
"markdownDescription": "A key value pair for extension and command: `\"extension\":\"command\"",
"default": {
"py": "python ${filePath}",
"lua": "lua ${filePath}",
"pl": "perl ${filePath}",
"sh": "sh ${filePath}",
"zsh": "zsh ${filePath}",
"js": "node ${filePath}",
"ts": "ts-node ${filePath}",
"php": "php ${filePath}",
"cpp": "cd ${dir} && g++ ${fileName} -o out && ./out",
"log": "tail -f ${filePath}"
}
}
}
}
],
"menus": {
"commandPalette": [
{
"command": "execute-in-iterm2.openDirectory",
"when": "false"
}
],
"editor/title": [
{
"command": "execute-in-iterm2.executeFileCommand",
"group": "navigation",
"when": "resourceExtname in ext.supportedFiles"
}
],
"explorer/context": [
{
"command": "execute-in-iterm2.openDirectory"
}
]
}
},
"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": {
"@types/vscode": "^1.64.0",
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.1.3",
"typescript": "^4.4.4",
"@vscode/test-electron": "^1.6.2"
}
}