-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
195 lines (195 loc) · 5.36 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
{
"name": "codecov",
"displayName": "Codecov YAML Validator",
"publisher": "codecov",
"activationEvents": [
"onStartupFinished"
],
"icon": "./icons/codecov.png",
"description": "Codecov's official validator extension for Visual Studio Code, it helps with setup and configuration of new repositories.",
"license": "MIT",
"homepage": "https://github.com/codecov/vscode/blob/main/README.md",
"bugs": {
"url": "https://github.com/codecov/vscode/issues"
},
"version": "0.0.0",
"repository": "https://github.com/codecov/vscode",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters"
],
"main": "./dist/extension.js",
"vscode": {
"files": [
"dist/languageserver.js"
]
},
"contributes": {
"yamlValidation": [
{
"url": "./schemas/codecov.json",
"fileMatch": [
"codecov.yaml",
"codecov.yml",
"*/codecov.yaml",
"*/codecov.yml"
]
}
],
"languages": [
{
"id": "codecov",
"aliases": [
"Codecov",
"codecov"
],
"icon": {
"light": "./icons/codecov.png",
"dark": "./icons/codecov.png"
},
"filenames": [
"codecov.yaml",
"codecov.yml"
],
"configuration": "./src/yaml/language-configuration.json"
}
],
"grammars": [
{
"language": "codecov",
"scopeName": "source.codecov",
"path": "./src/yaml/syntaxes/codecov.tmLanguage.json"
}
],
"menus": {
"editor/title": [
{
"command": "codecov.validate",
"group": "navigation",
"when": "resourceLangId == codecov"
}
]
},
"commands": [
{
"command": "codecov.validate",
"title": "Codecov: Validate current file for Codecov configuration",
"icon": {
"light": "./icons/codecov-light.png",
"dark": "./icons/codecov-dark.png"
}
},
{
"command": "codecov.reset.api.key",
"title": "Codecov: Reset the saved API key",
"icon": {
"light": "./icons/codecov-light.png",
"dark": "./icons/codecov-dark.png"
}
}
],
"configurationDefaults": {
"[codecov]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
"editor.autoIndent": "keep"
}
},
"configuration": {
"title": "Codecov",
"properties": {
"codecov.coverage.enabled": {
"type": "boolean",
"default": true,
"description": "Toggle Codecov line coverage decorations.",
"order": 0
},
"codecov.coverage.colors.covered": {
"type": "string",
"default": "rgb(33,181,119)",
"description": "The CSS color Codecov should use for covered lines (e.g., green, hsl(120deg 100% 50%), #00FF00).",
"order": 1
},
"codecov.coverage.colors.partial": {
"type": "string",
"default": "rgb(244,176,27)",
"description": "The CSS color Codecov should use for partial lines (e.g., green, hsl(120deg 100% 50%), #00FF00).",
"order": 2
},
"codecov.coverage.colors.missed": {
"type": "string",
"default": "rgb(245,32,32)",
"description": "The CSS color Codecov should use for missed lines (e.g., green, hsl(120deg 100% 50%), #00FF00).",
"order": 3
},
"codecov.api.gitProvider": {
"type": "string",
"default": "github",
"enum": [
"github",
"github_enterprise",
"gitlab",
"gitlab_enterprise",
"bitbucket",
"bitbucket_server"
],
"description": "Where are your repositories hosted?",
"order": 4
},
"codecov.api.url": {
"type": "string",
"default": "https://api.codecov.io",
"format": "url",
"description": "If you're self-hosting Codecov, update this to point to your self-hosted API.",
"order": 5
}
}
}
},
"scripts": {
"clean": "rimraf out && rimraf dist && rimraf schemas/codecov.json",
"build": "webpack --mode none",
"watch": "tsc -watch -p ./ & webpack --mode development --watch",
"lint": "eslint src --ext ts"
},
"dependencies": {
"@sentry/browser": "^8.39.0",
"@sentry/webpack-plugin": "^2.22.6",
"axios": "^1.6.2",
"fs-extra": "^11.2.0",
"request-light": "^0.7.0",
"vscode-languageclient": "^8.1.0",
"vscode-uri": "^3.0.7",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/node": "^18.19.3",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"buffer": "^6.0.3",
"eslint": "^8.55.0",
"glob": "^10.3.10",
"path-browserify": "^1.0.1",
"prettier": "^2.8.8",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"umd-compat-loader": "^2.1.2",
"url": "^0.11.3",
"util": "^0.12.5",
"webpack": "^5.80.0",
"webpack-cli": "^5.0.2",
"yaml-language-server": "^1.12.0"
}
}