Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

add NOCLIENT option to install only server dependencies

Rigel Kent590924284c57
diff --git a/package.json b/package.json
index fffbc8e323..04b1032c4d 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",