-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.99 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 3.99 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
114
115
116
117
118
119
120
121
122
{
"publisher": "poffm",
"name": "ui-test-visualizer",
"displayName": "UI Test Visualizer",
"license": "GPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/PoffM/ui-test-visualizer.git"
},
"version": "1.4.2",
"private": true,
"description": "Visually step through your jsdom or happy-dom based UI tests with the debugger.",
"author": "poffm",
"bugs": {
"url": "https://github.com/PoffM/ui-test-visualizer/issues"
},
"keywords": [
"react",
"solid",
"test",
"vitest",
"jest",
"bun",
"debug",
"typescript",
"javascript"
],
"categories": [
"Testing",
"Debuggers",
"Visualization"
],
"main": "./build-prod/extension.js",
"icon": "./icon.png",
"engines": {
"vscode": "^1.77.0"
},
"activationEvents": [
"workspaceContains:**/vitest.config.*",
"workspaceContains:**/vite.config.*",
"workspaceContains:**/jest.config.*",
"workspaceContains:**/package.json"
],
"contributes": {
"configuration": {
"title": "UI Test Visualizer",
"properties": {
"ui-test-visualizer.disableCodeLens": {
"type": "boolean",
"default": false,
"description": "Disable the \"Visually Debug UI\" buttons",
"scope": "window"
},
"ui-test-visualizer.codeLensSelector": {
"type": "string",
"default": "**/*.{test,spec}.{jsx,tsx}",
"description": "Show the \"Visually Debug UI\" buttons on files matching this pattern"
},
"ui-test-visualizer.testFramework": {
"type": "string",
"default": "autodetect",
"enum": [
"autodetect",
"jest",
"vitest",
"bun"
],
"description": "Test Framework: Vitest or Jest. Auto-detects by default by walking up directories from your test file."
}
}
},
"menus": {
"editor/context": [
{
"command": "ui-test-visualizer.createUiTest",
"when": "editorTextFocus && editorLangId =~ /typescript|javascript/"
}
]
},
"commands": [
{
"command": "ui-test-visualizer.createUiTest",
"title": "Create UI test (UI Test Visualizer)"
}
]
},
"scripts": {
"prepare": "which bun && (bun install --cwd ./examples/bun-react) && (bun install --cwd ./examples/bun-solid)",
"dev": "rm -rf build-dev && pnpm run -r dev",
"build": "rm -rf build-prod && pnpm run -r build && (cd build-prod && npx vsce package --allow-missing-repository --skip-license --out ./extension.vsix)",
"lint": "tsc",
"test": "pnpm run --filter {./packages/*} test",
"code-server-up": "docker compose -f test/docker-compose.yml up -d && docker exec vscodeExtension code-server --install-extension /source/build-prod/extension.vsix",
"code-server-down": "docker compose -f test/docker-compose.yml down",
"test:e2e": "pnpm run code-server-up && playwright test && pnpm run code-server-down",
"publish:all": "( pnpm run publish:vscode || P1=$?; pnpm run publish:ovsx || P2=$?; exit $((P1||P2)) )",
"publish:vscode": "pnpm vsce publish --packagePath ./build-prod/extension.vsix --allow-missing-repository --skip-license",
"publish:ovsx": "pnpm ovsx publish ./build-prod/extension.vsix"
},
"devDependencies": {
"@antfu/eslint-config": "^2.19.1",
"@changesets/cli": "^2.29.7",
"@playwright/test": "^1.56.1",
"@total-typescript/ts-reset": "^0.6.1",
"@types/node": "^24.8.1",
"@vitest/expect": "^3.2.4",
"@vscode/vsce": "^3.6.2",
"eslint": "^9.38.0",
"ovsx": "^0.10.6",
"pathe": "^2.0.3",
"tsup": "^8.5.0",
"type-fest": "^5.0.1",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
},
"pnpm": {
"patchedDependencies": {
"jest-config@30.2.0": "patches/jest-config@30.2.0.patch"
}
},
"packageManager": "pnpm@10.28.0+sha512.05df71d1421f21399e053fde567cea34d446fa02c76571441bfc1c7956e98e363088982d940465fd34480d4d90a0668bc12362f8aa88000a64e83d0b0e47be48"
}