-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 3.54 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
128
129
130
131
132
133
{
"name": "matman",
"displayName": "matman For Web UI/E2E Testing",
"description": "基于 matman 做 web 端对端测试(E2E,End-to-End Testing)的辅助插件",
"version": "0.3.8",
"engines": {
"vscode": "^1.46.0"
},
"publisher": "matmanjs",
"categories": [
"Other",
"Snippets"
],
"activationEvents": [
"*"
],
"icon": "assets/icon.png",
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "webpack --mode production",
"compile": "webpack --mode none",
"lint": "eslint src --ext ts",
"watch": "webpack --mode none --watch",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"publish": "vsce publish"
},
"contributes": {
"commands": [
{
"command": "matman.showfullcoverage",
"title": "matman: Show FullCoverage(显示全量覆盖率)"
},
{
"command": "matman.hidefullcoverage",
"title": "matman: Hide FullCoverage(隐藏全量覆盖率)"
},
{
"command": "matman.showincrementcoverage",
"title": "matman: Show IncrementCoverage(显示增量覆盖率)"
},
{
"command": "matman.hideincrementcoverage",
"title": "matman: Hide IncrementCoverage(隐藏增量覆盖率)"
},
{
"command": "matman.execJavascript",
"title": "执行当前 .js .ts 文件"
}
],
"menus": {
"editor/context": [
{
"group": "commands",
"command": "matman.execJavascript",
"when": "resourceLangId == javascript || resourceLangId == typescript"
}
]
},
"snippets": [
{
"language": "javascript",
"path": "./snippets/matman.code-snippets"
},
{
"language": "javascript",
"path": "./snippets/chai.code-snippets"
},
{
"language": "javascript",
"path": "./snippets/mocha.code-snippets"
},
{
"language": "javascript",
"path": "./snippets/dwt.code-snippets"
},
{
"language": "javascript",
"path": "./snippets/mockstar.code-snippets"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "matman",
"title": "matman",
"icon": "assets/sideBar.png"
}
]
},
"views": {
"matman": [
{
"id": "matman.treeView",
"name": "matman 覆盖率"
}
]
},
"viewsWelcome": [
{
"view": "matman.treeView",
"contents": "[显示全量覆盖率](command:matman.showfullcoverage)\n[隐藏全量覆盖率](command:matman.hidefullcoverage)\n[显示增量覆盖率](command:matman.showincrementcoverage)\n[隐藏增量覆盖率](command:matman.hideincrementcoverage)\n"
}
]
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/md5": "^2.2.0",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.46.0",
"@types/xml2js": "^0.4.5",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"mocha": "^7.1.2",
"ts-loader": "^8.0.0",
"typescript": "^3.8.3",
"vsce": "^1.77.0",
"vscode-test": "^1.3.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
},
"dependencies": {
"dayjs": "^1.8.32",
"glob": "^7.1.6",
"incremental-coverage": "^2.3.1",
"md5": "^2.3.0",
"xml2js": "^0.4.23"
},
"repository": "https://github.com/matmanjs/vscode-plugin.git"
}