-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
159 lines (159 loc) · 4.89 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
{
"name": "extension-test-runner",
"displayName": "Extension Test Runner",
"description": "Runs tests in VS Code extensions",
"publisher": "ms-vscode",
"version": "0.0.12",
"icon": "icon.png",
"engines": {
"vscode": "^1.88.0-insider"
},
"keywords": [
"vscode",
"test",
"cli"
],
"categories": [
"Testing"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "Test code and configurations are automatically evaluated by this extension."
}
},
"contributes": {
"configuration": [
{
"title": "Extension Test Runner",
"properties": {
"extension-test-runner.wrapper": {
"markdownDescription": "A wrapper script that runs tests. When running tests outside of debug mode, arguments will be passed to this script, and it should spawn the first argument as a child process.\n\nA common use case for this is to set it to `xvfb-run` for use in remotes which lack a display.",
"examples": [
"xvfb-run"
],
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"extension-test-runner.extractSettings": {
"markdownDescription": "Configures how tests get extracted. You can configure:\n\n- The `extractWith` mode, that specifies if tests are extracted via evaluation or syntax-tree parsing.\n- The `test` and `suite` identifiers the process extracts.",
"type": "object",
"properties": {
"suite": {
"type": "array",
"items": {
"type": "string"
}
},
"test": {
"type": "array",
"items": {
"type": "string"
}
},
"extractWith": {
"type": "string",
"enum": [
"evaluation",
"syntax"
]
}
},
"default": {
"suite": [
"describe",
"suite"
],
"test": [
"it",
"test"
],
"extractWith": "evaluation"
},
"required": [
"suite",
"test",
"extractWith"
]
},
"extension-test-runner.debugOptions": {
"type": "object",
"additionalProperties": true,
"markdownDescription": "Options, normally found in the launch.json, to pass when debugging the extension. See [the docs](https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_launch-configuration-attributes) for a complete list of options."
}
}
}
]
},
"activationEvents": [
"workspaceContains:**/.vscode-test.{js,cjs,mjs}",
"onCommand:extension-test-runner.get-controllers-for-test"
],
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode-test-runner-ext.git"
},
"bugs": {
"url": "https://github.com/microsoft/vscode-test-runner-ext/issues"
},
"homepage": "https://github.com/microsoft/vscode-test-runner-ext#readme",
"main": "./out/extension.js",
"scripts": {
"package": "vsce package --no-dependencies",
"vscode:prepublish": "npm run compile",
"postinstall": "cd src/typings && dts main && dts dev",
"clean": "node -e \"fs.rmSync('out',{force:true,recursive:true})\"",
"compile": "npm run clean && node .esbuild.js --minify",
"watch:esbuild": "npm run clean && node .esbuild.js --watch",
"watch": "npm run clean && tsc --watch",
"test": "tsc && vscode-test",
"prettier": "prettier --write src"
},
"devDependencies": {
"@types/chai": "^4.3.7",
"@types/estree": "^1.0.2",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.2",
"@types/node": "20.x",
"@types/picomatch": "^2.3.1",
"@types/sinon": "^10.0.19",
"@types/split2": "^4.2.1",
"@vscode/dts": "^0.4.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.9",
"acorn": "^8.10.0",
"chai": "^4.3.10",
"esbuild": "^0.19.4",
"glob": "^10.3.10",
"mocha": "^10.8.2",
"prettier": "^3.0.3",
"sinon": "^16.1.0",
"typescript": "^5.2.2"
},
"prettier": {
"printWidth": 100,
"singleQuote": true
},
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.19",
"acorn-loose": "^8.3.0",
"ansi-colors": "^4.1.3",
"data-uri-to-buffer": "^6.0.1",
"enhanced-resolve": "^5.15.0",
"error-stack-parser": "^2.1.4",
"eslint-visitor-keys": "^3.4.3",
"istanbul-to-vscode": "^2.1.0",
"minimatch": "^9.0.3",
"split2": "^4.2.0",
"stacktrace-parser": "^0.1.10"
}
}