-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
246 lines (246 loc) · 8.78 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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
{
"private": true,
"name": "vscode-stryker-mutator",
"icon": "assets/images/logo.png",
"displayName": "VSCode Stryker Mutator",
"description": "Unofficial VSCode extension of 'Stryker Mutator' for hunting mutants hiding in our codebase",
"repository": {
"type": "git",
"url": "https://github.com/datagone/vscode-stryker-mutator.git"
},
"publisher": "datagone",
"author": {
"name": "alexchapar",
"email": "alexchapar@data-g.one",
"url": "https://data-g.one"
},
"license": "GPL-3.0",
"version": "0.6.0",
"preview": true,
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Testing"
],
"extensionKind": [
"workspace"
],
"keywords": [
"Stryker",
"Dotnet",
"Mutation testing",
"Mutant",
"Mutation",
"C#",
"CSharp",
"Quality",
"Tests"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-stryker-mutator.create-stryker-config-file",
"title": "Create Stryker.NET configuration file",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.install-stryker-dotnet-tool",
"title": "Install Stryker.NET Tool",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.update-stryker-dotnet-tool",
"title": "Update Stryker.NET Tool to latest",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.uninstall-stryker-dotnet-tool",
"title": "Uninstall Stryker.NET Tool",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.mutate-workspace",
"title": "Trigger mutation tests on workspace [♻️ Deprecated - use 'on Solution']",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.mutate-folder",
"title": "Trigger mutation tests on folder",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.mutate-solution",
"title": "Trigger mutation tests on solution",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.mutate-project",
"title": "Trigger mutation tests on project",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.mutate-file",
"title": "Trigger mutation tests on file",
"category": "Stryker.NET",
"enablement": "true"
},
{
"command": "vscode-stryker-mutator.mutate-selection",
"title": "Trigger mutation tests on selection",
"category": "Stryker.NET",
"enablement": "true"
}
],
"menus": {
"explorer/context": [
{
"command": "vscode-stryker-mutator.mutate-file",
"when": "!explorerResourceIsFolder && resourceLangId == 'csharp' && !(resourceFilename =~ /tests?[\\w-.\\/]*\\.(cs)$/i)",
"group": "7_stryker"
},
{
"command": "vscode-stryker-mutator.mutate-project",
"when": "!explorerResourceIsFolder && resourceFilename =~ /[\\w-.\\/]*\\.(csproj)$/i",
"group": "7_stryker"
},
{
"command": "vscode-stryker-mutator.mutate-solution",
"when": "!explorerResourceIsFolder && resourceFilename =~ /[\\w-.\\/]*\\.(sln)$/i",
"group": "7_stryker"
}
],
"editor/context": [
{
"command": "vscode-stryker-mutator.mutate-selection",
"when": "editorHasSelection == true && editorLangId == 'csharp' && !(resourceFilename =~ /tests?[\\w-.\\/]*\\.(cs)$/i)",
"group": "1_stryker"
},
{
"command": "vscode-stryker-mutator.mutate-file",
"when": "editorLangId == 'csharp' && !(resourceFilename =~ /tests?[\\w-.\\/]*\\.(cs)$/i)",
"group": "1_stryker"
},
{
"command": "vscode-stryker-mutator.mutate-project",
"when": "editorLangId == 'csharp' && resourceFilename =~ /[\\w-.\\/]*\\.(csproj)$/i",
"group": "1_stryker"
},
{
"command": "vscode-stryker-mutator.mutate-solution",
"when": "editorLangId == 'csharp' && resourceFilename =~ /[\\w-.\\/]*\\.(sln)$/i",
"group": "1_stryker"
}
]
},
"configuration": {
"title": "Stryker Mutator",
"type": "object",
"properties": {
"strykerMutatorNet.dotnet.commandPath": {
"type": "string",
"default": null,
"markdownDescription": "The command/path to invoke `dotnet`, if different than the default path/exe (default:`dotnet`)"
},
"strykerMutatorNet.tool.installationLocation": {
"type": "string",
"default": "global",
"enum": [
"global",
"local"
],
"enumDescriptions": [
"Install the tool globally on your system.",
"[Experimental] Install the tool locally in the root solution folder."
],
"markdownDescription": "Select where you want to install the dotnet-stryker tool."
},
"strykerMutatorNet.dotnet.solutionFolder": {
"type": "string",
"default": null,
"markdownDescription": "Folder path to the dotnet solution file, if different than the workspace. The Path must be relative to the actual workspace"
},
"strykerMutatorNet.stryker.configFile": {
"type": "string",
"default": null,
"markdownDescription": "Path to a stryker config file, if elsewhere than at the workspace root path"
},
"strykerMutatorNet.stryker.optionalParameters": {
"type": "string",
"default": null,
"markdownDescription": "Optional parameters to add with the command line. See the [Configuration](https://stryker-mutator.io/docs/stryker-net/configuration/) for more details (e.g. `--verbosity info`, `--concurrency 2`, ...)"
}
}
}
},
"scripts": {
"vscode:package": "npx --no-install vsce package",
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile:tests": "tsc -p . --outDir out",
"watch:tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"prepare": "husky install",
"prettier:fix": "npm run prettier:check -- --write",
"prettier:check": "prettier \"./**/*\" --check --no-editorconfig",
"lint": "eslint src --max-warnings 0 --ext ts",
"lint:lastcommit": "npx commitlint --from HEAD~1 --to HEAD --verbose",
"test": "node ./out/test/runTest.js",
"test:unit": "jest \"(?<=.unit).test.ts$\" --coverage",
"test:unit:file": "jest --coverage --testPathPattern",
"test:mutation": "npm run test:mutation:full --incremental",
"test:mutation:full": "stryker run",
"clean:test:full": "npx --no-install rimraf .\\.stryker-tmp\\ && npx --no-install rimraf .\\node_modules\\ && npm ci && npm run lint && npm run lint:lastcommit && npm run test:unit && npm run test:mutation:full",
"release:package:dryrun": "semantic-release --extends ./release.package.config.js --dry-run",
"release:package": "semantic-release --extends ./release.package.config.js",
"release:publish:dryrun": "semantic-release --extends ./release.publish.config.js --dry-run",
"release:publish": "semantic-release --extends ./release.publish.config.js"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@stryker-mutator/core": "8.2.6",
"@stryker-mutator/jest-runner": "8.2.6",
"@stryker-mutator/typescript-checker": "8.2.6",
"@types/glob": "8.1.0",
"@types/jest": "29.5.14",
"@types/jest-when": "3.5.5",
"@types/node": "20.14.12",
"@types/shell-escape": "0.2.3",
"@types/vscode": "1.75.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@vscode/test-electron": "2.4.1",
"eslint": "8.57.1",
"glob": "11.0.1",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-when": "3.7.0",
"lint-staged": "15.4.1",
"prettier": "3.4.2",
"semantic-release": "24.2.1",
"semantic-release-stop-before-publish": "1.0.0",
"semantic-release-vsce": "6.0.6",
"shell-escape": "0.2.0",
"ts-jest": "29.2.5",
"ts-loader": "9.5.2",
"ts-mockito": "2.6.1",
"typescript": "5.7.3",
"webpack": "5.97.1",
"webpack-cli": "6.0.1"
}
}