forked from MozillaReality/puzzle-rain
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
58 lines (58 loc) · 3.34 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
{
"name": "puzzle-rain",
"version": "1.0.0",
"description": "A room-scale WebVR musical experience.",
"repository": {
"type": "git",
"url": "git+https://github.com/mozvr/puzzle-rain.git"
},
"authors": "Puzzle Rain authors",
"license": "MIT",
"main": "lib/index.js",
"dependencies": {
"browserify": "^13.0.0",
"glslify": "^5.0.2",
"mkdirp": "^0.5.1",
"three": "0.81.2",
"tween.js": "v16.3.4",
"uglify-js": "^2.6.2"
},
"devDependencies": {
"budo": "^8.2.2",
"gh-pages": "^0.11.0",
"lighthouse": "^1.1.4",
"psi": "^2.0.4"
},
"scripts": {
"start": "budo lib/index.js:js/index.js --dir app --live --cors",
"build": "npm run build:js",
"build:js": "mkdirp app/js && browserify lib/index.js | uglifyjs -c warnings=false -m > app/js/index.js",
"postinstall": "npm run build",
"ghpages": "gh-pages",
"predeploy": "npm run build",
"deploy": "npm run ghpages -- -d app",
"perf:pagespeed:index": "psi https://mozvr.com/puzzle-rain/ --strategy=desktop > logs/perf/pagespeed/pages/index/$(date +\"%Y.%m.%d_%H.%M.%S\").txt",
"perf:pagespeed:fallback": "psi https://mozvr.com/puzzle-rain/fallback.html --strategy=desktop > logs/perf/pagespeed/pages/fallback/$(date +\"%Y.%m.%d_%H.%M.%S\").txt",
"perf:pagespeed:normal": "psi https://mozvr.com/puzzle-rain/?mode=normal --strategy=desktop > logs/perf/pagespeed/pages/normal/$(date +\"%Y.%m.%d_%H.%M.%S\").txt",
"perf:pagespeed:spectator": "psi https://mozvr.com/puzzle-rain/?mode=spectator --strategy=desktop > logs/perf/pagespeed/pages/spectator/$(date +\"%Y.%m.%d_%H.%M.%S\").txt",
"perf:pagespeed:debug": "psi https://mozvr.com/puzzle-rain/?mode=debug --strategy=desktop > logs/perf/pagespeed/pages/debug/$(date +\"%Y.%m.%d_%H.%M.%S\").txt",
"perf:pagespeed": "npm run perf:pagespeed:index && npm run perf:pagespeed:fallback && npm run perf:pagespeed:normal && npm run perf:pagespeed:spectator && npm run perf:pagespeed:debug",
"perf:lighthouse:index": "lighthouse https://mozvr.com/puzzle-rain/ --perf --output=html --output-path=logs/perf/lighthouse/pages/index/$(date +\"%Y.%m.%d_%H.%M.%S\").html",
"perf:lighthouse:fallback": "lighthouse https://mozvr.com/puzzle-rain/fallback.html --perf --output=html --output-path=logs/perf/lighthouse/pages/fallback/$(date +\"%Y.%m.%d_%H.%M.%S\").html",
"perf:lighthouse:normal": "lighthouse https://mozvr.com/puzzle-rain/?mode=normal --perf --output=html --output-path=logs/perf/lighthouse/pages/normal/$(date +\"%Y.%m.%d_%H.%M.%S\").html",
"perf:lighthouse:spectator": "lighthouse https://mozvr.com/puzzle-rain/?mode=spectator --perf --output=html --output-path=logs/perf/lighthouse/pages/spectator/$(date +\"%Y.%m.%d_%H.%M.%S\").html",
"perf:lighthouse:debug": "lighthouse https://mozvr.com/puzzle-rain/?mode=debug --perf --output=html --output-path=logs/perf/lighthouse/pages/debug/$(date +\"%Y.%m.%d_%H.%M.%S\").html",
"perf:lighthouse": "npm run perf:lighthouse:index && npm run perf:lighthouse:fallback && npm run perf:lighthouse:normal && npm run perf:lighthouse:spectator && npm run perf:lighthouse:debug",
"perf": "npm run perf:pagespeed && npm run perf:lighthouse"
},
"browserify": {
"transform": [
"glslify"
]
},
"authors": [
"Arturo Paracuellos <[email protected]>",
"Chris Van Wiemeersch <[email protected]>"
],
"license": "MIT"
}