-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.99 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
{
"name": "devtools-runtime-benchmark",
"version": "1.0.0",
"description": "Benchmark runtime performance using Puppeteer. Compare reports with side-by-side annotated DevTools timelines.",
"main": "src/index.js",
"scripts": {
"test": "kill $(lsof -t -i:8838) & npm run server:test & cypress run --browser chrome",
"timeline:dev": "npm run generate-sw-dev && open-cli http://localhost:8833/ && http-server docs -a localhost -p 8833 -s",
"timeline:prod": "http-server docs -a localhost -p 8833 -s",
"timeline:test": "http-server docs -a localhost -p 8838 -s",
"benchmark:dev": "nodemon report-server.js",
"benchmark:prod": "node report-server.js",
"start": "yarn benchmark:prod & yarn timeline:dev",
"dev": "yarn benchmark:dev & yarn timeline:dev",
"lint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .",
"generate-sw": "sw-precache --config=./sw-precache-config.js --root=docs",
"generate-sw-dev": "npm run generate-sw && npm run checkout-sw",
"generate-sw-prod": "npm run generate-sw && npm run commit-sw",
"checkout-sw": "git checkout docs/service-worker.js",
"commit-sw": "if [ -n \"$(git status --porcelain -uno)\" ]; then git commit -am \"generate service-worker\"; fi"
},
"author": "AVsync.LIVE",
"license": "NONE",
"devDependencies": {
"cypress": "^4.0.2",
"eslint": "^6.8.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-cypress": "^2.10.3",
"http-server": "^0.12.1",
"opn-cli": "^5.0.0",
"pre-push": "^0.1.1",
"sw-precache": "^5.2.1"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.18.0",
"lodash-fp": "^0.10.4",
"nodemon": "^2.0.15",
"open": "^8.4.0",
"percentile": "^1.6.0",
"puppeteer": "^13.7.0"
},
"directories": {
"doc": "docs"
},
"keywords": [
"devtools",
"chrome"
],
"bugs": {
"url": "https://github.com/ChromeDevTools/timeline-viewer/issues"
},
"homepage": "https://github.com/ChromeDevTools/timeline-viewer#readme"
}