-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.17 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.17 KB
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
{
"name": "perf-matters",
"version": "1.0.0",
"description": "Automatic website performance metrics",
"main": "index.js",
"scripts": {
"get-browermob": "wget https://github.com/lightbody/browsermob-proxy/releases/download/browsermob-proxy-2.0.0/browsermob-proxy-2.0.0-bin.zip",
"unpack-browsermob": "unzip browsermob-proxy-2.0.0-bin.zip && rm -fr browsermob-proxy-2.0.0-bin.zip",
"postinstall": "npm run get-browermob && npm run unpack-browsermob",
"selenium": "webdriver-manager update > ./selenium.log 2>&1 && webdriver-manager start > ./selenium.log 2>&1 &",
"browsermob-proxy": "/bin/sh browsermob-proxy-2.0.0/bin/browsermob-proxy > ./browsermob-proxy.log 2>&1 &",
"backgrounds": "npm run selenium && npm run browsermob-proxy",
"kill-backgrounds": "pkill -f browsermob-proxy && pkill -f selenium",
"workers": "pm2 start processes.json"
},
"author": "Jakub Żmudziński",
"license": "ISC",
"dependencies": {
"amqplib": "^0.3.2",
"browsermob-proxy-api": "^0.1.4",
"har-validator": "^1.6.1",
"q": "^1.2.0",
"webdriver-manager": "^3.0.0",
"webdriverio": "^2.4.5"
},
"devDependencies": {
"longjohn": "^0.2.4"
}
}