-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
171 lines (171 loc) · 4.84 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
{
"name": "elixir-test",
"publisher": "samuel-pordeus",
"repository": {
"type": "git",
"url": "https://github.com/samuelpordeus/vscode-elixir-test"
},
"displayName": "Elixir Test",
"description": "An extension with a few commands that helps you with your Elixir tests",
"icon": "icon.png",
"version": "1.8.1",
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"Other"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "extension.elixirJumpToTest",
"title": "Elixir Test: Jump"
},
{
"command": "extension.elixirRunTestFile",
"title": "Elixir Test: Run all tests on file"
},
{
"command": "extension.elixirRunTestCoverage",
"title": "Elixir Test: Run test coverage on the project"
},
{
"command": "extension.elixirRunTestFolder",
"title": "Elixir Test: Run all tests in a folder"
},
{
"command": "extension.elixirRunTestAtCursor",
"title": "Elixir Test: Run test at cursor"
},
{
"command": "extension.elixirRunTestSuite",
"title": "Elixir Test: Run test suite"
},
{
"command": "extension.elixirRunFailedTests",
"title": "Elixir Test: Run failed tests"
},
{
"command": "extension.elixirRunLastTestCommand",
"title": "Elixir Test: Run last test command"
},
{
"command": "extension.elixirRunStaleTests",
"title": "Elixir Test: Run stale tests"
},
{
"command": "extension.elixirWatchTestFile",
"title": "Elixir Test: Watch all tests on file"
},
{
"command": "extension.elixirWatchTestFolder",
"title": "Elixir Test: Watch all tests in a folder"
},
{
"command": "extension.elixirWatchTestAtCursor",
"title": "Elixir Test: Watch test at cursor"
},
{
"command": "extension.elixirWatchTestSuite",
"title": "Elixir Test: Watch test suite"
}
],
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"command": "extension.elixirRunTestFolder",
"group": "elixirTest"
}
]
},
"keybindings": [
{
"command": "extension.elixirJumpToTest",
"key": "ctrl+shift+j",
"mac": "cmd+shift+j",
"when": "editorTextFocus && editorLangId == 'elixir'"
},
{
"command": "extension.elixirRunTestAtCursor",
"key": "ctrl+shift+8 c",
"mac": "cmd+shift+i c",
"when": "editorTextFocus && editorLangId == 'elixir'"
},
{
"command": "extension.elixirRunTestFile",
"key": "ctrl+shift+8 f",
"mac": "cmd+shift+i f",
"when": "editorTextFocus && editorLangId == 'elixir'"
},
{
"command": "extension.elixirRunTestCoverage",
"key": "ctrl+shift+8 k",
"mac": "cmd+shift+i k",
"when": "editorTextFocus && editorLangId == 'elixir'"
},
{
"command": "extension.elixirRunTestFolder",
"key": "ctrl+shift+8 d",
"mac": "cmd+shift+i d"
},
{
"command": "extension.elixirRunTestSuite",
"key": "ctrl+shift+8 s",
"mac": "cmd+shift+i s",
"when": "editorTextFocus && editorLangId == 'elixir'"
},
{
"command": "extension.elixirRunLastTestCommand",
"key": "ctrl+shift+8 l",
"mac": "cmd+shift+i l",
"when": "editorTextFocus && editorLangId == 'elixir'"
}
],
"configuration": {
"title": "Elixir Test Configuration",
"type": "object",
"properties": {
"vscode-elixir-test": {
"type": "object",
"properties": {
"focusOnTerminalAfterTest": {
"type": "boolean",
"default": true,
"description": "Get focus on terminal panel after test"
},
"mixEnv": {
"type": "string",
"default": null,
"description": "Set the value for the MIX_ENV env var. If null, the MIX_ENV env var will not be set"
},
"beforeTest": {
"type": "string",
"default": null,
"description": "Command to run on terminal before running tests"
}
}
}
}
}
},
"scripts": {
"lint": "npx eslint \"./src/**/*.js\"",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.4",
"@types/node": "^20.9.0",
"@types/vscode": "^1.38.0",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.18.2",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"typescript": "^5.2.2",
"@vscode/vsce": "^2.15.0",
"@vscode/test-electron": "^2.3.6"
}
}