-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
127 lines (127 loc) · 3.22 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
{
"name": "better-tests-experience",
"version": "0.0.4",
"author": "oven",
"repository": {
"type": "git",
"url": "https://github.com/sabubb muelgja/better-tests"
},
"main": "dist/extension.js",
"devDependencies": {
"@types/node": "^22.9.0",
"@types/vscode": "^1.60.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^2.20.1",
"esbuild": "^0.19.2",
"prettier": "^3.3.3",
"typescript": "^5.0.0"
},
"description": "Better tests experience for your typescript / javascript projects!",
"displayName": "Better Tests",
"engines": {
"vscode": "^1.60.0"
},
"extensionKind": [
"workspace"
],
"galleryBanner": {
"color": "#3B3738",
"theme": "dark"
},
"homepage": "https://github.com/samuelgja/better-tests",
"icon": "assets/icon.png",
"keywords": [
"bun",
"deno",
"node.js",
"javascript",
"typescript",
"vscode"
],
"license": "MIT",
"publisher": "samuelgja",
"scripts": {
"build": "node scripts/build.mjs",
"pretest": "bun run build",
"test": "node scripts/test.mjs",
"dev": "vscode-test --config scripts/dev.mjs",
"prepublish": "npm version patch && bun run build",
"publish": "cd extension && bunx vsce publish"
},
"activationEvents": [
"onStartupFinished"
],
"browser": "dist/web-extension.js",
"bugs": {
"url": "https://github.com/samuelgja/better-tests/issues"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "This extension needs to be able to run your code using Better Tests."
}
},
"categories": [
"Programming Languages",
"Debuggers",
"Testing"
],
"contributes": {
"configuration": {
"title": "Better Test",
"properties": {
"better.test.filePattern": {
"type": "string",
"default": "**/*.{test,spec}.{js,ts,tsx,jsx}",
"description": "Glob pattern to match test files (e.g., **/*.test.{js,ts,tsx,jsx})"
},
"better.test.customFlag": {
"type": "string",
"default": "",
"description": "Custom flag added to the end of test command"
},
"better.test.customScript": {
"type": "string",
"default": "",
"description": "Custom script to use instead of `bun test`, for example script from `package.json`"
},
"better.test.watchFlag": {
"type": "string",
"default": "--watch",
"description": "Custom flag for the watch mode. Default is --watch"
}
}
},
"commands": [
{
"command": "better.test.runTest",
"title": "Run File Test",
"shortTitle": "Run Test",
"category": "Better Tests",
"icon": "$(play)"
},
{
"command": "better.test.watchTest",
"title": "Run File Test in watch mode",
"shortTitle": "Run Test Watch",
"category": "Better Tests",
"icon": "$(sync)"
}
],
"breakpoints": [
{
"language": "javascript"
},
{
"language": "javascriptreact"
},
{
"language": "typescript"
},
{
"language": "typescriptreact"
}
]
}
}