-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
179 lines (179 loc) · 5.68 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
{
"name": "auto-term-tabs",
"displayName": "Auto Terminal",
"description": "Setup and manage terminal tabs",
"repository": "https://github.com/dejmedus/auto-term",
"bugs": {
"url": "https://github.com/dejmedus/auto-term/issues"
},
"version": "0.0.70",
"pricing": "Free",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"icon": "assets/icon.png",
"publisher": "dejmedus",
"license": "MIT",
"keywords": [
"terminal",
"tabs"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"jsonValidation": [
{
"fileMatch": "terminal.config.json",
"url": "./out/lib/schema.json"
}
],
"configuration": {
"title": "Auto Terminal",
"properties": {
"autoTerminal.runOpenCommandsOnStartup": {
"type": "boolean",
"default": false,
"description": "Automatically run 'open' terminal actions when a workspace is opened "
},
"autoTerminal.addQuickRunToTerminal": {
"type": "boolean",
"default": true,
"description": "Add a button to open action options from the terminal"
},
"autoTerminal.customTemplates": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tab": {
"type": "string",
"description": "Name of the terminal tab"
},
"commands": {
"type": "array",
"items": {
"type": "string"
},
"description": "Commands to be executed in this tab"
},
"description": {
"type": "string",
"description": "Description of the commands"
}
},
"required": [
"tab",
"commands"
]
}
}
},
"default": {}
}
}
},
"commands": [
{
"command": "extension.action",
"title": "Auto Term: Action"
},
{
"command": "extension.showUsageGuide",
"title": "Auto Term: Show Usage Guide"
},
{
"command": "extension.getTemplate",
"title": "Auto Term: Template"
}
],
"menus": {
"view/title": [
{
"command": "extension.action",
"when": "view == terminal && config.autoTerminal.addQuickRunToTerminal == true",
"group": "navigation"
}
]
},
"walkthroughs": [
{
"id": "auto-terminal-walkthrough",
"title": "Auto Terminal",
"description": "Learn how to set up and use Auto Terminal for streamlined terminal configuration.",
"steps": [
{
"id": "enable-shell-integration",
"title": "Setup",
"description": "Ensure shell integration is enabled \n[Open Settings](command:workbench.action.openSettings?%22terminal.integrated.shellIntegration.enabled%22)",
"media": {
"markdown": "/assets/walkthrough/shellIntegration.md"
}
},
{
"id": "setup-terminal-configuration",
"title": "Create Terminal Config File",
"description": "Create a `terminal.config.json` file at root or choose a template. \n[Choose template](command:extension.getTemplate)",
"completionEvents": [
"onFileCreated:terminal.config.json"
],
"media": {
"image": "./assets/walkthrough/terminal-config-file.png",
"altText": "Setup Terminal Configuration"
}
},
{
"id": "run-commands",
"title": "Use Actions",
"description": "Start an action wtih the `Auto Terminal: Action` command. \n[Run Action](command:extension.action)",
"media": {
"image": "./assets/walkthrough/action.png",
"altText": "Setup Terminal Configuration"
}
},
{
"id": "auto-run-on-startup",
"title": "Update Settings",
"description": "Run on open, quick run, and custom templates can be configured in the settings. \n[Open Settings](command:workbench.action.openSettings?%22autoTerminal%22)",
"media": {
"image": "./assets/walkthrough/settings-config.png",
"altText": "Setup Terminal Configuration"
}
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"precompile": "mkdir -p out/templates; mkdir -p out/lib; cp -r src/templates/* out/templates; cp -r src/lib/schema.json out/lib",
"compile": "tsc -p ./",
"prewatch": "mkdir -p out/templates; mkdir -p out/lib; cp -r src/templates/* out/templates; cp -r src/lib/schema.json out/lib",
"watch": "tsc -watch -p ./",
"pretest": "rm -rf out && tsc -b --clean && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/sinon": "^17.0.3",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"copyfiles": "^2.4.1",
"eslint": "^8.56.0",
"sinon": "^19.0.2",
"typescript": "^5.3.3"
}
}