-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
92 lines (92 loc) · 3.37 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
{
"name": "run-in-terminal",
"displayName": "Run in Terminal",
"description": "Use a keyboard shortcut to run any command in the Integrated Terminal.",
"version": "0.0.7",
"publisher": "kortina",
"repository": {
"type": "git",
"url": "https://github.com/kortina/run-in-terminal"
},
"icon": "images/run-in-terminal.png",
"engines": {
"vscode": "^1.41.1"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:runInTerminal.run",
"onCommand:runInTerminal.runLast"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "runInTerminal.run",
"title": "Run in Terminal"
},
{
"command": "runInTerminal.runLast",
"title": "Re-Run Last Command in Terminal"
}
],
"configuration": {
"title": "Run in Terminal Configuration",
"properties": {
"runInTerminal.clearBeforeRun": {
"type": "boolean",
"default": false,
"description": "Clear terminal before run?"
},
"runInTerminal.saveCommandInHistory": {
"type": "boolean",
"default": false,
"description": "Save command in history?"
},
"runInTerminal.commands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "`name` of command. When `runInTerminal.run` is called with {'name': 'x'}, the command with `name` = 'x' and `match` =~ the current filename will be executed.",
"default": null
},
"match": {
"type": "string",
"description": "`match` for filename. When `runInTerminal.run` is called with {'name': 'x'}, the command with `name` = 'x' and `match` =~ the current filename will be executed.",
"default": null
},
"cmd": {
"type": "string",
"description": "Command to execute if found by `name` and `match`.",
"default": null
}
}
}
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"lint": "eslint -c .eslintrc.js --ext .ts src",
"vpackage": "./node_modules/.bin/vsce package",
"vpublish": "./node_modules/.bin/vsce publish",
"vscode:prepublish": "npm run compile",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/mocha": "^8.2.0",
"@types/node": "^11.9.0",
"@types/vscode": "^1.32.0",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"eslint": "^6.8.0",
"typescript": "^3.8.3",
"@vscode/vsce": "^2.19.0",
"@vscode/test-electron": "^2.3.3"
}
}