-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
165 lines (165 loc) · 4.79 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
{
"name": "mocha-vscode",
"displayName": "Mocha Test Runner",
"description": "Run and debug Mocha tests right within VS Code.",
"publisher": "danielku15",
"version": "1.0.0",
"icon": "icon.png",
"engines": {
"vscode": "^1.83.0"
},
"keywords": [
"mocha",
"test",
"bdd",
"tdd",
"tap",
"testing",
"chai",
"assertion",
"ava",
"jest",
"tape",
"jasmine",
"karma"
],
"categories": [
"Testing"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "Test code and configurations are automatically evaluated by this extension."
}
},
"contributes": {
"configuration": [
{
"title": "Extension Test Runner",
"properties": {
"mocha-vscode.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 `extractTimeout` limiting how long the extraction of tests for a single file is allowed to take.\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"
]
},
"extractTimeout": {
"type": "number"
}
},
"default": {
"suite": [
"describe",
"suite"
],
"test": [
"it",
"test"
],
"extractWith": "evaluation",
"extractTimeout": 10000
},
"required": [
"suite",
"test",
"extractWith",
"extractTimeout"
]
},
"mocha-vscode.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:**/.mocharc.{js,cjs,yaml,yml,json,jsonc}",
"onCommand:mocha-vscode.get-controllers-for-test"
],
"repository": {
"type": "git",
"url": "https://github.com/mocha/mocha-vscode.git"
},
"bugs": {
"url": "https://github.com/mocha/mocha-vscode/issues"
},
"homepage": "https://github.com/mocha/mocha-vscode#readme",
"main": "./out/extension.js",
"scripts": {
"package": "vsce package --no-dependencies",
"vscode:prepublish": "npm run compile",
"postinstall": "cd src/typings && npx @vscode/dts main && npx @vscode/dts dev",
"clean": "node -e \"fs.rmSync('out',{force:true,recursive:true})\"",
"compile": "npm run clean && tsc --noEmit && node .esbuild.js --minify",
"compile:test": "tsc",
"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",
"@types/yargs": "^17.0.32",
"@vscode/dts": "^0.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"acorn": "^8.10.0",
"chai": "^4.3.10",
"esbuild": "^0.19.4",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"prettier": "^3.0.3",
"sinon": "^16.1.0",
"tsx": "^4.7.1",
"typescript": "^5.2.2"
},
"prettier": {
"printWidth": 100,
"singleQuote": true
},
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.19",
"@types/which": "^3.0.3",
"@typescript-eslint/typescript-estree": "^7.5.0",
"acorn-loose": "^8.3.0",
"ansi-colors": "^4.1.3",
"c8": "^9.1.0",
"data-uri-to-buffer": "^6.0.1",
"enhanced-resolve": "^5.15.0",
"error-stack-parser": "^2.1.4",
"eslint-visitor-keys": "^3.4.3",
"minimatch": "^9.0.3",
"split2": "^4.2.0",
"stacktrace-parser": "^0.1.10",
"supports-color": "^9.4.0",
"which": "^4.0.0",
"yargs": "^17.7.2"
}
}