-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
182 lines (182 loc) · 4.87 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
{
"name": "code-coverage",
"displayName": "Code Coverage",
"description": "Boost test coverage and reliability with this easy-to-use code coverage analysis tool",
"version": "1.12.0",
"publisher": "markis",
"icon": "images/icon.png",
"license": "MIT",
"engines": {
"vscode": "^1.66.0"
},
"repository": {
"type": "git",
"url": "https://github.com/markis/vscode-code-coverage.git"
},
"categories": [
"Testing"
],
"keywords": [
"analysis",
"code coverage",
"quality assurance",
"lcov",
"productivity",
"test coverage",
"unit test"
],
"activationEvents": [
"workspaceContains:**/lcov*.info",
"onLanguage:clojure",
"onLanguage:coffeescript",
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:csharp",
"onLanguage:dart",
"onLanguage:fsharp",
"onLanguage:go",
"onLanguage:elixir",
"onLanguage:haxe",
"onLanguage:java",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:objective-c",
"onLanguage:objective-cpp",
"onLanguage:perl",
"onLanguage:perl6",
"onLanguage:php",
"onLanguage:python",
"onLanguage:ruby",
"onLanguage:rust",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:shellscript",
"onLanguage:vb"
],
"main": "./out/src/extension.js",
"contributes": {
"configuration": {
"title": "Code coverage",
"properties": {
"markiscodecoverage.searchCriteria": {
"type": "string",
"default": "coverage/lcov*.info",
"description": "Search location for lcov files"
},
"markiscodecoverage.coverageThreshold": {
"type": "number",
"default": 80,
"minimum": 0,
"maximum": 100,
"description": "The desired code coverage percentage ratio per-file"
},
"markiscodecoverage.enableOnStartup": {
"type": "boolean",
"default": true,
"description": "Enable code coverage on startup"
},
"markiscodecoverage.enableDecorations": {
"type": "boolean",
"default": false,
"description": "Enable highlights for uncovered lines (on top of diagnostics)"
}
}
},
"activationEvents": [
"onCommand:code-coverage.hide",
"onCommand:code-coverage.show"
],
"commands": [
{
"command": "code-coverage.hide",
"title": "Hide Code Coverage"
},
{
"command": "code-coverage.show",
"title": "Show Code Coverage"
}
],
"colors": [
{
"id": "markiscodecoverage.colorUncoveredLineRuler",
"description": "Decoration color for uncovered lines",
"defaults": {
"dark": "editorInfo.background",
"light": "editorInfo.background",
"highContrast": "editorInfo.background"
}
},
{
"id": "markiscodecoverage.colorUncoveredLineText",
"description": "Decoration color for uncovered lines",
"defaults": {
"dark": "editorInfo.foreground",
"light": "editorInfo.foreground",
"highContrast": "editorInfo.foreground"
}
},
{
"id": "markiscodecoverage.insufficientCoverageForeground",
"description": "Decoration color for files with insufficient coverage",
"defaults": {
"dark": "editorError.foreground",
"light": "editorError.foreground",
"highContrast": "editorError.foreground"
}
}
]
},
"eslintConfig": {
"env": {
"es6": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"camelcase": 2,
"no-undef": 0,
"no-unused-vars": 0
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -p ./",
"compile:watch": "tsc -watch -p ./",
"preformat": "prettier --write src/**/*.ts test/**/*.ts",
"format": "eslint --fix src/**/*.ts test/**/*.ts",
"prelint": "prettier --check src/**/*.ts test/**/*.ts",
"lint": "eslint src/**/*.ts test/**/*.ts",
"pretest": "npm run compile",
"test": "node ./out/test/run-test.js"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.2",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.5.0",
"@types/vscode": "^1.66.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@vscode/test-electron": "^2.3.4",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"prettier": "^3.0.2",
"typescript": "^5.1.6"
}
}