-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
122 lines (122 loc) · 3.49 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
{
"name": "rails-test-runner",
"displayName": "Rails Test Runner",
"description": "Easily run your rails tests from within Visual Studio Code (vscode)",
"version": "0.0.4",
"publisher": "davidpallinder",
"repository": "https://github.com/Pallinder/rails-test-runner",
"icon": "images/rails.png",
"engines": {
"vscode": "^1.19.0"
},
"categories": [
"Other",
"Languages"
],
"keywords": [
"rails",
"Ruby on Rails",
"rspec",
"test"
],
"activationEvents": [
"workspaceContains:bin/rails",
"workspaceContains:script/rails"
],
"main": "./out/rails_test_runner",
"contributes": {
"configuration": {
"type": "object",
"title": "Rails Test Runner Configuration",
"properties": {
"railsTestRunner.rspecCommand": {
"default": "bundle exec rspec",
"description": "Specifies the command to use when running rspec tests",
"type": ["string"]
},
"railsTestRunner.focusTerminal": {
"default": true,
"description": "Should the terminal be focused on each run?",
"type": ["boolean"]
},
"railsTestRunner.clearTerminal": {
"default": true,
"description": "Should the terminal be cleared before each run?"
},
"railsTestRunner.rspec.failFast": {
"default": false,
"description": "Should rspec stop after encountering a failed test?"
}
}
},
"commands": [
{
"command": "railsTestRunner.runAllTests",
"title": "Rails Test Runner: Run all Tests"
},
{
"command": "railsTestRunner.runAllTestsInFolder",
"title": "Rails Test Runner: Run all tests in folder"
},
{
"command": "railsTestRunner.runAllTestsInFile",
"title": "Rails Test Runner: Run all tests in file"
},
{
"command": "railsTestRunner.runTestAtLine",
"title": "Rails Test Runner: Run tests starting from the current line"
},
{
"command": "railsTestRunner.runLastTests",
"title": "Rails Test Runner: Run the last test(s) again"
},
{
"command": "railsTestRunner.runLastFailedTests",
"title": "Rails Test Runner: Run the last failing test(s) again"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceLangId == ruby",
"command": "railsTestRunner.runAllTestsInFile",
"group": "railsTestRunner@1"
},
{
"when": "explorerResourceIsFolder",
"command": "railsTestRunner.runAllTestsInFolder",
"group": "railsTestRunner@2"
}
],
"editor/context": [
{
"when": "resourceLangId == ruby",
"command": "railsTestRunner.runAllTestsInFile",
"group": "railsTestRunner@1"
},
{
"when": "resourceLangId == ruby",
"command": "railsTestRunner.runTestAtLine",
"group": "railsTestRunner@2"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42",
"expect.js": "^0.3.1",
"prettier": "^1.9.2",
"tslint": "^5.8.0",
"tslint-config-airbnb": "^5.4.2"
}
}