add NOCLIENT option to install only server dependencies

This commit is contained in:
Rigel Kent 2019-02-25 22:30:47 +01:00
parent bfe2ef6bfa
commit 590924284c
No known key found for this signature in database
GPG key ID: EA12971B0E438F36

View file

@ -53,7 +53,7 @@
"parse-log": "node ./dist/scripts/parse-log.js",
"prune-storage": "node ./dist/scripts/prune-storage.js",
"optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
"postinstall": "cd client && yarn install --pure-lockfile",
"postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
"tsc": "tsc",
"commander": "commander",
"ng": "ng",