-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.38 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.38 KB
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
{
"name": "vscode-lab-test-runner",
"displayName": "Vscode hapi/lab Test Runner",
"description": "Run and debug hapijs/lab tests with VS Code's native Test Explorer",
"version": "5.0.15",
"license": "BSD-3-Clause",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#1E1E1E",
"theme": "dark"
},
"author": {
"name": "Matt Harrison"
},
"publisher": "mtharrison",
"repository": {
"type": "git",
"url": "https://github.com/mtharrison/vscode-lab.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Testing"
],
"keywords": [
"lab",
"hapijs",
"test",
"testing",
"test explorer"
],
"activationEvents": [
"workspaceContains:**/package.json"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "hapi/lab Test Runner",
"properties": {
"labTestExplorer.testMatch": {
"type": "string",
"default": "**/{test,tests,__tests__}/**/*.{js,ts}",
"description": "Glob pattern to match test files"
},
"labTestExplorer.labPath": {
"type": "string",
"default": "",
"description": "Path to lab executable (leave empty to use npx)"
},
"labTestExplorer.timeout": {
"type": "number",
"default": 30000,
"description": "Test timeout in milliseconds"
},
"labTestExplorer.activationCommand": {
"type": "string",
"default": "",
"description": "Shell command to run when the extension activates (runs silently in the background)"
},
"labTestExplorer.labArgs": {
"type": "string",
"default": "--no-lint --no-coverage --no-L -v -r console",
"description": "Additional CLI arguments to pass to lab (timeout, grep pattern, and file path are added automatically)"
},
"labTestExplorer.commandPrefix": {
"type": "string",
"default": "",
"description": "Command prefix to prepend when running tests (e.g., 'NODE_ENV=test' or 'my-wrapper --')"
},
"labTestExplorer.suppressPrefixOutput": {
"type": "boolean",
"default": true,
"description": "Suppress output from commandPrefix wrapper, showing only lab test results"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "node esbuild.js",
"watch": "node esbuild.js --watch",
"package": "node esbuild.js --production",
"lint": "eslint src --ext ts",
"lint:fix": "eslint src --ext ts --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"pretest": "tsc -p ./ --noEmit",
"vsce:package": "vsce package",
"vsce:publish": "vsce publish"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@types/node": "^20.10.0",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"@vitest/coverage-v8": "^1.0.0",
"@vscode/vsce": "^2.22.0",
"esbuild": "^0.27.2",
"eslint": "^8.55.0",
"ovsx": "^0.10.8",
"semantic-release": "^25.0.2",
"typescript": "^5.3.0",
"vitest": "^1.0.0"
},
"dependencies": {
"@typescript-eslint/typescript-estree": "^6.13.0"
}
}