forked from aelatgt/ieeevr-hubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
26 lines (26 loc) · 1.12 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
{
"private": true,
"scripts": {
"hubs:clone": "test -d hubs || git clone https://github.com/mozilla/hubs hubs",
"hubs:reset": "cd hubs && git reset --hard HEAD",
"hubs:patch": "npm run hubs:reset && cd hubs && find ../patches -type f -name '*.patch' ! -size 0 | sort | xargs -t -n1 patch -p1 -i",
"hubs:unpatch": "cd hubs && find ../patches -type f -name '*.patch' ! -size 0 | sort -r | xargs -t -n1 patch -R -p1 -i",
"hubs:setup": "cd hubs && npm ci",
"postinstall": "run-s hubs:clone hubs:patch hubs:setup",
"premakepatch": "npm run hubs:unpatch",
"makepatch": "cd hubs && git diff > ../patches/RENAME_ME.patch",
"postmakepatch": "npm run hubs:patch",
"start": "cd hubs && npm run start",
"build-gh": "cd hubs && cross-env BASE_ASSETS_PATH=/custom-hubs-template/ npm run build",
"deploy-gh": "gh-pages -d hubs/dist"
},
"devDependencies": {
"@types/aframe": "^0.8.4",
"cross-env": "^7.0.0",
"gh-pages": "^2.2.0",
"npm-run-all": "^4.1.5"
},
"dependencies": {
"moment": "^2.24.0"
}
}