forked from ChromeDevTools/timeline-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.73 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
{
"name": "timeline-viewer",
"version": "1.0.0",
"description": "Works with public github urls, github gists, and files on google drive (once authenticated).",
"main": "src/index.js",
"scripts": {
"test": "kill $(lsof -t -i:8838) & npm run server:test & cypress run --browser chrome",
"dev": "npm run generate-sw-dev && open-cli http://localhost:8833/ && npm run server",
"server": "http-server docs -a localhost -p 8833 -s",
"server:test": "http-server docs -a localhost -p 8838 -s",
"start": "npm run server",
"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": "Paul Irish",
"license": "Apache-2.0",
"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": {},
"pre-push": [
"generate-sw-prod"
],
"directories": {
"doc": "docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ChromeDevTools/timeline-viewer.git"
},
"keywords": [
"devtools",
"chrome"
],
"bugs": {
"url": "https://github.com/ChromeDevTools/timeline-viewer/issues"
},
"homepage": "https://github.com/ChromeDevTools/timeline-viewer#readme"
}