Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.88 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 2.88 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
{
"name": "grafana-k6-test-discovery",
"displayName": "Grafana K6 Test Discovery",
"description": "Run k6 performance tests from VS Code Test Explorer",
"version": "0.0.7",
"publisher": "moonolgerd",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/moonolgerd/k6-test-explorer.git"
},
"bugs": {
"url": "https://github.com/moonolgerd/k6-test-explorer/-/issues"
},
"homepage": "https://github.com/moonolgerd/k6-test-explorer#readme",
"keywords": [
"k6",
"performance",
"testing",
"load testing",
"test explorer"
],
"engines": {
"vscode": "^1.100.0"
},
"categories": [
"Testing"
],
"activationEvents": [
"workspaceContains:**/*.test.js",
"workspaceContains:**/*.test.ts",
"workspaceContains:**/*.js"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "k6-test-explorer.refreshTests",
"title": "Refresh K6 Tests",
"icon": "$(refresh)"
},
{
"command": "k6-test-explorer.runTest",
"title": "Run K6 Test",
"icon": "$(play)"
},
{
"command": "k6-test-explorer.runAllTests",
"title": "Run All K6 Tests",
"icon": "$(play-all)"
}
],
"configuration": {
"title": "K6 Test Explorer",
"properties": {
"k6TestExplorer.k6Path": {
"type": "string",
"default": "k6",
"description": "Path to the k6 executable"
},
"k6TestExplorer.testPattern": {
"type": "string",
"default": "**/*{.test,-test}.{js,ts}",
"description": "Glob pattern to find k6 test files"
},
"k6TestExplorer.defaultArgs": {
"type": "array",
"default": [],
"description": "Default arguments to pass to k6 run command"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint",
"test": "vscode-test"
},
"devDependencies": {
"@types/k6": "^1.0.2",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.100.0",
"@typescript-eslint/eslint-plugin": "^8.56.0",
"@typescript-eslint/parser": "^8.56.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.25.3",
"eslint": "^9.39.2",
"npm-run-all": "^1.1.3",
"typescript": "^5.8.3"
}
}