-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
180 lines (180 loc) · 5.86 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
{
"name": "simplecov",
"displayName": "SimpleCov",
"description": "Code coverage highlighter & statistics for Ruby projects using SimpleCov",
"version": "0.0.7",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:ruby"
],
"icon": "assets/icon.png",
"publisher": "dewski",
"repository": {
"type": "git",
"url": "https://github.com/dewski/vscode-simplecov.git"
},
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Simplecov",
"properties": {
"simplecov.coverShowCounts": {
"type": "boolean",
"default": false,
"description": "When generating code coverage, should hit & branch coverage counts be shown inline.",
"scope": "resource"
},
"simplecov.coverageOptions": {
"type": "string",
"enum": [
"showCoveredCodeOnly",
"showUncoveredCodeOnly",
"showBothCoveredAndUncoveredCode"
],
"default": "showBothCoveredAndUncoveredCode",
"description": "Use these options to control whether only covered or only uncovered code or both should be highlighted after generating a coverage report.",
"scope": "resource"
},
"simplecov.coverageDirectory": {
"type": "string",
"default": "coverage",
"description": "The path to the coverage directory. This is relative to the workspace root.",
"scope": "resource"
},
"simplecov.coverageDecorator": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"highlight",
"gutter"
]
},
"coveredHighlightColor": {
"type": "string",
"description": "Color in the rgba format to use to highlight covered code."
},
"uncoveredHighlightColor": {
"type": "string",
"description": "Color in the rgba format to use to highlight uncovered code."
},
"uncoveredBranchHighlightColor": {
"type": "string",
"description": "Color in the rgba format to use to highlight branch uncovered code."
},
"coveredGutterStyle": {
"type": "string",
"enum": [
"blockblue",
"blockred",
"blockgreen",
"blockyellow",
"slashred",
"slashgreen",
"slashblue",
"slashyellow",
"verticalred",
"verticalgreen",
"verticalblue",
"verticalyellow"
],
"description": "Gutter style to indicate covered code."
},
"uncoveredGutterStyle": {
"type": "string",
"enum": [
"blockblue",
"blockred",
"blockgreen",
"blockyellow",
"slashred",
"slashgreen",
"slashblue",
"slashyellow",
"verticalred",
"verticalgreen",
"verticalblue",
"verticalyellow"
],
"description": "Gutter style to indicate uncovered code."
},
"uncoveredBranchGutterStyle": {
"type": "string",
"enum": [
"blockblue",
"blockred",
"blockgreen",
"blockyellow",
"slashred",
"slashgreen",
"slashblue",
"slashyellow",
"verticalred",
"verticalgreen",
"verticalblue",
"verticalyellow"
],
"description": "Gutter style to indicate branch uncovered code."
}
},
"additionalProperties": false,
"default": {
"type": "highlight",
"coveredHighlightColor": "rgba(64,128,128,0.5)",
"coveredGutterStyle": "blockgreen",
"uncoveredHighlightColor": "rgba(128,64,64,0.45)",
"uncoveredGutterStyle": "blockred",
"uncoveredBranchHighlightColor": "rgba(128,64,64,0.25)",
"uncoveredBranchGutterStyle": "blockred"
},
"description": "This option lets you style the way code coverage is displayed. Choose either to highlight the complete line or to show an indicator in the gutter.",
"scope": "resource"
}
}
},
"commands": [
{
"command": "simplecov.coverage.toggle",
"title": "SimpleCov: Toggle Coverage"
},
{
"command": "simplecov.coverage.apply",
"title": "SimpleCov: Apply Coverage"
},
{
"command": "simplecov.coverage.remove",
"title": "SimpleCov: Remove Coverage"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.85.0",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"esbuild": "^0.17.19",
"eslint": "^8.56.0",
"typescript": "^5.3.3",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8"
}
}