-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
209 lines (209 loc) · 4.7 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
{
"name": "testlatte",
"displayName": "TestLatte",
"description": "Run your TestCafé tests in the Sidebar of Visual Studio Code",
"publisher": "sshimono",
"version": "2.1.3",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.58.1"
},
"categories": [
"Debuggers",
"Other"
],
"activationEvents": [
"onView:testOutline",
"onView:browserSelection"
],
"keywords": [
"TestCafe",
"TestCafé",
"Test",
"Runner"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "testlatte",
"title": "Testlatte",
"icon": "images/TestCafe-symbol-190.svg"
}
]
},
"viewsWelcome": [
{
"view": "testOutline",
"contents": "In order to use Testlatte features, open a folder containing Testcafe tests.\n[Open Folder](command:vscode.openFolder)\n",
"when": "workbenchState == empty"
},
{
"view": "browserSelection",
"contents": "Can't find any browser installed.\nYou need to have at least one browser installed in order to use Testlatte features.\n"
}
],
"views": {
"testlatte": [
{
"id": "testOutline",
"name": "TestCafe Test List",
"contextualTitle": "Testlatte"
},
{
"id": "browserSelection",
"name": "Select Browser",
"contextualTitle": "Testlatte"
}
]
},
"commands": [
{
"command": "testOutline.runTest",
"title": "Run Test",
"icon": "$(play)"
},
{
"command": "testOutline.debugTest",
"title": "Debug Test",
"icon": "$(debug-alt)"
},
{
"command": "testOutline.runAll",
"title": "Run All",
"icon": "$(run-all)"
},
{
"command": "testOutline.debugAll",
"title": "Debug All",
"icon": "$(debug)"
},
{
"command": "testOutline.refresh",
"title": "Refresh",
"icon": "$(refresh)"
}
],
"menus": {
"commandPalette": [
{
"command": "testOutline.runTest",
"when": "never"
},
{
"command": "testOutline.debugTest",
"when": "never"
},
{
"command": "testOutline.runAll",
"when": "never"
},
{
"command": "testOutline.debugAll",
"when": "never"
},
{
"command": "testOutline.refresh",
"when": "never"
}
],
"view/title": [
{
"command": "testOutline.refresh",
"when": "view == testOutline",
"group": "navigation@1"
},
{
"command": "testOutline.debugAll",
"when": "view == testOutline && singleFolder",
"group": "navigation@2"
},
{
"command": "testOutline.runAll",
"when": "view == testOutline && singleFolder",
"group": "navigation@3"
}
],
"view/item/context": [
{
"command": "testOutline.debugAll",
"when": "viewItem == FolderItem",
"group": "inline"
},
{
"command": "testOutline.runAll",
"when": "viewItem == FolderItem",
"group": "inline"
},
{
"command": "testOutline.debugTest",
"when": "viewItem == TestItem",
"group": "inline"
},
{
"command": "testOutline.runTest",
"when": "viewItem == TestItem",
"group": "inline"
}
]
},
"configuration": {
"title": "TestLatte",
"properties": {
"testlatte.filePath": {
"type": "string",
"default": "test/",
"description": "Directory from which to search and run the tests.",
"scope": "resource"
},
"testlatte.testcafePath": {
"type": "string",
"markdownDescription": "Path to the TestCafe module used to execute the tests. If it is not configured it will use the path `[testWorkspaceFolder]/node_modules/testcafe/bin/testcafe.js` where `testWorkspaceFolder` is the workspace folder of the corresponding test",
"scope": "resource"
},
"testlatte.customArguments": {
"type": [
"string",
"null"
],
"default": null,
"description": "Custom arguments to testcafe command line.",
"scope": "resource"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"lint": "eslint -c .eslintrc.js --ext .ts ./src"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^5.2.6",
"@types/node": "^10.17.60",
"@types/vscode": "^1.58.0",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"eslint": "^7.30.0",
"glob": "^7.1.7",
"mocha": "^10.2.0",
"typescript": "^3.9.10",
"vscode-test": "^1.5.2"
},
"dependencies": {
"testcafe": "^2.3.1",
"testcafe-browser-tools": "^1.7.1"
},
"repository": {
"type": "git",
"url": "https://github.com/Selminha/testlatte"
},
"bugs": {
"url": "https://github.com/Selminha/testlatte/issues"
}
}