forked from AdrianWilczynski/RunTerminalCommand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 3.52 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
{
"name": "terminal-commands",
"displayName": "Run Terminal Command",
"description": "Run predefined terminal commands from Explorer context menu or Command Palette.",
"publisher": "adrianwilczynski",
"repository": {
"type": "git",
"url": "/~https://github.com/AdrianWilczynski/RunTerminalCommand.git"
},
"icon": "img/icon.png",
"version": "1.0.5",
"engines": {
"vscode": "^1.33.0"
},
"categories": [
"Other"
],
"keywords": [
"Terminal",
"CMD",
"PowerShell",
"Command",
"Commands",
"Shortcuts",
"CLI",
"Command Line",
"Run"
],
"activationEvents": [
"onCommand:extension.runTerminalCommand"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.runTerminalCommand",
"title": "Run Terminal Command..."
}
],
"menus": {
"explorer/context": [
{
"command": "extension.runTerminalCommand",
"group": "navigation@6"
}
]
},
"configuration": [
{
"title": "Run Terminal Command",
"properties": {
"runTerminalCommand.commands": {
"type": "array",
"items": {
"type": [
"object"
],
"properties": {
"command": {
"type": "string",
"description": "The text to send to the terminal."
},
"auto": {
"type": "boolean",
"description": "Whether to add a new line to the text being sent, this is normally required to run a command in the terminal."
},
"preserve": {
"type": "boolean",
"description": "Don't dispose of terminal running this command."
},
"name": {
"type": "string",
"description": "Name for the command. A human readable string which is rendered prominent."
},
"group": {
"type": "string",
"description": "Commands sharing the group name will be grouped together in the menu."
}
}
},
"default": [
{
"command": "ng g c ",
"name": "Generate Component"
},
{
"command": "tsc {resource}",
"auto": true
},
{
"command": "dotnet run",
"auto": true,
"group": ".NET Core"
},
{
"command": "dotnet add page -n ",
"group": ".NET Core"
},
{
"command": "dotnet watch run",
"auto": true,
"preserve": true,
"group": ".NET Core"
},
{
"command": "dotnet add package {clipboard}",
"auto": true,
"group": ".NET Core"
}
]
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^3.3.1",
"vscode": "^1.1.28",
"tslint": "^5.12.1",
"@types/node": "^10.12.21",
"@types/mocha": "^2.2.42"
}
}