forked from Raagh/angular-karma_test-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
182 lines (182 loc) · 5.6 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"name": "angular-karma-test-explorer",
"displayName": "Angular/Karma Test Explorer",
"description": "Run your Angular Tests in the Sidebar of Visual Studio Code",
"icon": "img/test-explorer_icon.png",
"author": "Patricio Ferraggi <[email protected]>",
"publisher": "raagh",
"version": "1.2.4",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Raagh/angular-karma_test-explorer"
},
"bugs": {
"url": "https://github.com/Raagh/angular-karma_test-explorer/issues"
},
"categories": [
"Other"
],
"jest": {
"testEnvironment": "node"
},
"keywords": [
"test",
"testing",
"angular",
"angular.js",
"karma"
],
"main": "out/main.js",
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"clean": "rimraf out *.vsix",
"build": "tsc",
"watch": "tsc -w",
"rebuild": "npm run clean && npm run build",
"prettify": "npx prettier --write '**/*.ts'",
"package": "npx vsce package",
"publish": "npx vsce publish",
"test": "jest -c jest.config.js"
},
"dependencies": {
"cross-spawn": "^7.0.0",
"escape-string-regexp": "^2.0.0",
"express": "^4.17.1",
"glob": "^7.1.4",
"karma": "~4.3.0",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^2.0.1",
"node": "^13.1.0",
"request-promise": "^4.2.4",
"resolve-global": "^1.0.0",
"socket.io": "2.2.0",
"socket.io-client": "2.2.0",
"tree-kill": "^1.2.1",
"tslib": "^1.10.0",
"vscode-test-adapter-api": "^1.7.0",
"vscode-test-adapter-util": "^0.7.0"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.0",
"@types/decamelize": "^3.0.3",
"@types/express": "~4.17.1",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.18",
"@types/jest-when": "^2.7.0",
"@types/karma": "^3.0.3",
"@types/lodash": "^4.14.138",
"@types/node": "~12.7.5",
"@types/semver": "~6.0.2",
"@types/socket.io-client": "^1.4.32",
"jest": "^24.9.0",
"jest-when": "^2.7.0",
"lodash": "^4.17.15",
"ts-jest": "^24.1.0",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.6.3",
"vsce": "^1.66.0",
"vscode": "^1.1.36"
},
"engines": {
"vscode": "^1.23.0"
},
"extensionDependencies": [
"hbenl.vscode-test-explorer",
"msjsdiag.debugger-for-chrome"
],
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Angular/Karma Test Explorer configuration",
"properties": {
"angularKarmaTestExplorer.projectRootPath": {
"description": "The working directory where the angular project is located (relative to the root folder)",
"type": "string",
"scope": "resource"
},
"angularKarmaTestExplorer.karmaConfFilePath": {
"description": "The path where the karma.conf.js is located (relative to the project folder)",
"type": "string",
"scope": "resource",
"default": "karma.conf.js"
},
"angularKarmaTestExplorer.defaultAngularProjectName": {
"description": "Set the default angular project to be tested, if this is is null default project in angular.json will be loaded",
"type": "string",
"scope": "resource"
},
"angularKarmaTestExplorer.defaultSocketConnectionPort": {
"description": "This is the port that will be used to connect Karma with the test explorer",
"type": "number",
"scope": "resource",
"default": 9999
},
"angularKarmaTestExplorer.debugMode": {
"description": "This will enable debug mode, which will create a new output channel with detailed logs",
"type": "boolean",
"scope": "resource",
"default": false
},
"angularKarmaTestExplorer.projectType": {
"description": "Setup the type of project you re using('AngularCLI', 'Angular' or 'Karma'). Default value is AngularCLI",
"type": "string",
"scope": "resource",
"default": "AngularCLI"
},
"angularKarmaTestExplorer.angularProcessCommand": {
"description": "Setup the specific command you want to execute to launch angular, only use it if you need to pass on some specific memory value",
"type": "string",
"scope": "resource"
},
"angularKarmaTestExplorer.angularProcessArguments": {
"description": "Setup the specific arguments you want to execute when launching angular, be aware that some arguments can cause this extension not to work properly",
"type": "array",
"items": {
"type": "string"
},
"scope": "resource"
}
}
},
"languages": [
{
"id": "angular-test",
"mimetypes": [
"text/x-code-output",
"x-code-output"
]
}
],
"grammars": [
{
"language": "angular-test",
"scopeName": "angular-test.output",
"path": "./syntaxes/angular-test-log.tmLanguage"
}
],
"commands": [
{
"command": "angular-karma-test-explorer.select-project",
"title": "Angular/Karma Test Explorer: Select Project",
"icon": {
"dark": "./img/select-project-dark-icon.svg",
"light": "./img/select-project-light-icon.svg"
}
}
],
"menus": {
"view/title": [
{
"command": "angular-karma-test-explorer.select-project",
"group": "navigation@1",
"when": "view == test-explorer && isAngularEnviroment"
}
]
}
}
}