-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
172 lines (172 loc) · 5.34 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
{
"name": "vscode-ruby-test-adapter",
"displayName": "Ruby Test Explorer",
"description": "Run your Ruby tests in the Sidebar of Visual Studio Code",
"icon": "img/ruby-test-explorer.png",
"author": "Connor Shea <connor.james.shea@gmail.com>",
"publisher": "connorshea",
"version": "0.9.2",
"license": "MIT",
"homepage": "https://github.com/connorshea/vscode-ruby-test-adapter",
"repository": {
"type": "git",
"url": "https://github.com/connorshea/vscode-ruby-test-adapter.git"
},
"bugs": {
"url": "https://github.com/connorshea/vscode-ruby-test-adapter/issues"
},
"categories": [
"Other"
],
"keywords": [
"test",
"testing",
"rspec",
"minitest",
"mini_test",
"ruby",
"test explorer",
"test adapter"
],
"main": "out/src/main.js",
"scripts": {
"clean": "rimraf out *.vsix",
"build": "tsc",
"watch": "tsc -w",
"rebuild": "npm run clean && npm run build",
"package": "vsce package",
"publish": "vsce publish",
"test:minitest": "npm run build && node ./out/test/runMinitestTests.js",
"test:rspec": "npm run build && node ./out/test/runRspecTests.js"
},
"dependencies": {
"split2": "^4.1.0",
"tslib": "^2.4.0",
"vscode-test-adapter-api": "^1.9.0",
"vscode-test-adapter-util": "^0.7.1"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/split2": "^3.2.1",
"@types/vscode": "^1.69.0",
"glob": "^8.0.3",
"mocha": "^9.2.2",
"rimraf": "^3.0.0",
"typescript": "^4.7.4",
"vsce": "^2.10.0",
"vscode-test": "^1.6.1"
},
"engines": {
"vscode": "^1.69.0"
},
"extensionDependencies": [
"hbenl.vscode-test-explorer"
],
"activationEvents": [
"onLanguage:ruby",
"onLanguage:erb",
"workspaceContains:**/Rakefile",
"workspaceContains:**/Gemfile",
"workspaceContains:**/*.rb",
"onCommand:commandId"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Ruby Test Explorer configuration",
"properties": {
"rubyTestExplorer.logpanel": {
"description": "Write diagnotic logs to an output panel.",
"type": "boolean",
"scope": "resource"
},
"rubyTestExplorer.logfile": {
"description": "Write diagnostic logs to the given file.",
"type": "string",
"scope": "resource"
},
"rubyTestExplorer.testFramework": {
"description": "Test framework to use by default, for example rspec or minitest.",
"type": "string",
"default": "auto",
"enum": [
"none",
"auto",
"rspec",
"minitest"
],
"enumDescriptions": [
"Disable Ruby Test Runner.",
"Automatically detect test framework for a given workspace using Bundler.",
"Use RSpec test framework.",
"Use Minitest test framework."
],
"scope": "resource"
},
"rubyTestExplorer.rspecCommand": {
"markdownDescription": "Define the command to run Rspec tests with, for example `bundle exec rspec`, `spring rspec`, or `rspec`.",
"default": "bundle exec rspec",
"type": "string",
"scope": "resource"
},
"rubyTestExplorer.rspecDirectory": {
"markdownDescription": "The location of your RSpec directory relative to the root of the workspace.",
"default": "./spec/",
"type": "string",
"scope": "resource"
},
"rubyTestExplorer.minitestCommand": {
"markdownDescription": "Define how to run Minitest with Rake, for example `./bin/rake`, `bundle exec rake` or `rake`.",
"default": "bundle exec rake",
"type": "string",
"scope": "resource"
},
"rubyTestExplorer.minitestDirectory": {
"markdownDescription": "The location of your test directory relative to the root of the workspace.",
"default": "./test/",
"type": "string",
"scope": "resource"
},
"rubyTestExplorer.filePattern": {
"markdownDescription": "The naming pattern for your tests.",
"default": [
"*_test.rb",
"test_*.rb",
"*_spec.rb"
],
"type": "array",
"items": {
"type": "string"
},
"scope": "resource"
},
"rubyTestExplorer.debuggerHost": {
"markdownDescription": "The host to connect the debugger to.",
"default": "127.0.0.1",
"type": "string",
"scope": "resource"
},
"rubyTestExplorer.debuggerPort": {
"markdownDescription": "The port to connect the debugger to.",
"default": "1234",
"type": "string",
"scope": "resource"
},
"rubyTestExplorer.debugCommand": {
"markdownDescription": "Define how to run rdebug-ide, for example `rdebug-ide` or `bundle exec rdebug-ide`.",
"default": "rdebug-ide",
"type": "string",
"scope": "resource"
}
}
}
},
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "This extension runs code from tests and therefore can't be assumed to be safe to use in an untrusted workspace."
},
"virtualWorkspaces": false
}
}