-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
112 lines (112 loc) · 3.2 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
{
"name": "vscode-vitest",
"displayName": "Vitest Runner for VSCode that actually work",
"version": "0.4.0",
"main": "dist/index.js",
"icon": "logo.png",
"license": "MIT",
"description": "Vitest Runner for VSCode that actually work",
"publisher": "rluvaton",
"engines": {
"vscode": "^1.65.0"
},
"categories": [
"Testing",
"Other"
],
"keywords": [
"vitest",
"runner",
"codelens"
],
"repository": "https://github.com/rluvaton/vitest-vs-code-plugin.git",
"author": "Raz Luvaton",
"activationEvents": [
"onLanguage:typescript",
"onLanguage:javascript",
"onLanguage:typescriptreact",
"onLanguage:javascriptreact"
],
"devDependencies": {
"@types/vscode": "^1.65.0",
"esbuild": "^0.14.27",
"prettier": "^2.6.0",
"typescript": "^4.6.2",
"vitest": "^0.34.1",
"vsce": "^2.7.0"
},
"scripts": {
"build": "esbuild ./src/index.ts --bundle --outdir=dist --sourcemap --external:vscode --external:typescript --platform=node --format=cjs",
"build:watch": "yarn build -- --watch",
"package": "yarn build && yarn vsce package",
"format:check": "prettier --config ./prettier.config.json --c ./src/**/*.ts",
"format:write": "yarn format:check --write"
},
"dependencies": {
"find-up": "^5.0.0"
},
"contributes": {
"configuration": {
"title": "Vitest Runner Configuration",
"properties": {
"vscode-vitest.preTest": {
"type": ["array"],
"items": {
"type": "string"
},
"default": [],
"description": "Command to run before tests run. e.g npm run preTest"
},
"vscode-vitest.postTest": {
"type": ["array"],
"items": {
"type": "string"
},
"default": [],
"description": "Command to run after tests run. e.g npm run cleanAfterTest"
},
"vscode-vitest.packageManager": {
"type": "string",
"default": "npx",
"description": "Command to run tests. e.g npm, pnpm, npx, yarn"
},
"vscode-vitest.testCommand": {
"type": "string",
"default": "vitest",
"description": "Command to run tests. e.g test, vitest"
},
"vscode-vitest.extraArguments": {
"type": "string",
"default": "",
"description": "Extra arguments to run the test. e.g --maxWorkers --silent"
},
"vscode-vitest.executableOptions": {
"type": "object",
"default": {
"run": true,
"watch": true,
"debug": true
},
"properties": {
"run": {
"type": "boolean",
"default": true,
"description": "Enable or disable Run(Vitest)"
},
"watch": {
"type": "boolean",
"default": true,
"description": "Enable or disable Watch(Vitest)"
},
"debug": {
"type": "boolean",
"default": true,
"description": "Enable or disable Debug(Vitest)."
}
},
"description": "Choose which executable options to enable"
}
}
}
}
}