From: Rigel Kent Date: Mon, 25 Feb 2019 21:30:47 +0000 (+0100) Subject: add NOCLIENT option to install only server dependencies X-Git-Tag: v1.3.0-rc.1~155 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=590924284c571d30a6b1852296b2043f3bfa5400;p=oweals%2Fpeertube.git add NOCLIENT option to install only server dependencies --- diff --git a/package.json b/package.json index fffbc8e32..04b1032c4 100644 --- a/package.json +++ b/package.json @@ -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",