-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
95 lines (95 loc) · 2.72 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
{
"name": "wpt-vscode-extension",
"publisher": "WebPageTest",
"displayName": "WebPageTest",
"description": "Run WebPageTest within VS Code",
"version": "1.0.5",
"license": "ISC",
"engines": {
"vscode": "^1.56.0"
},
"icon": "webpagetest.png",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:webpagetest.wpt"
],
"main": "./extension.js",
"contributes": {
"configuration": {
"title": "WebPageTest",
"properties": {
"WebPageTest.apiKey": {
"type": "string",
"default": false,
"markdownDescription": "WebPageTest API Key. [Get Yours Here](https://app.webpagetest.org/ui/entry/wpt/signup?enableSub=true&utm_source=docs&utm_medium=vscode&utm_campaign=vscode&utm_content=account)"
},
"WebPageTest.urlToTest": {
"type": [
"string",
"null"
],
"default": "",
"description": "Specifies the URL to test."
},
"WebPageTest.location": {
"type": [
"string",
"null"
],
"default": "",
"description": "WebPageTest test location"
},
"WebPageTest.runs": {
"type": "number",
"default": 1,
"description": "The number of tests to run"
},
"WebPageTest.pollResults": {
"type": "number",
"default": 5,
"description": "The interval (in seconds) to poll the API for test results"
},
"WebPageTest.emulateMobile": {
"type": "boolean",
"default": false,
"description": "emulate mobile browser: Chrome mobile user agent, 640x960 screen, 2x scaling and fixed viewport (Chrome only)"
},
"WebPageTest.device": {
"type": "string",
"description": "device name from mobile_devices.ini (Link: https://github.com/WPO-Foundation/webpagetest/blob/master/www/settings/mobile_devices.ini) to use for mobile emulation (only when emulateMobile=true is specified to enable emulation and only for Chrome)"
}
}
},
"commands": [
{
"command": "webpagetest.wpt",
"title": "WebPageTest"
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/WebPageTest/wpt-vscode-extension.git"
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.56.0",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2"
},
"dependencies": {
"webpagetest": "^0.6.0"
}
}