summary refs log tree commit diff
path: root/bundle/package.json
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-01-24 13:25:00 +0100
committerGitHub <noreply@github.com>2022-01-24 15:25:00 +0300
commit82ad769dff9e544fb2f2bdfde7c6f50872663322 (patch)
treed022976d95c1e45b069ae70903c9c2d45b98197d /bundle/package.json
parentMerge pull request #606 from MaddyUnderStars/hotfix/node-fetch (diff)
downloadserver-82ad769dff9e544fb2f2bdfde7c6f50872663322.tar.xz
Speed up setup by not installing optional packages (#605)
Only downside is no db engines are included by default, removing compile time for packages like sqlite3.
Diffstat (limited to 'bundle/package.json')
-rw-r--r--bundle/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/package.json b/bundle/package.json
index 75827521..331e4ebe 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -4,7 +4,7 @@
 	"description": "",
 	"main": "src/start.js",
 	"scripts": {
-		"setup": "node scripts/install.js && npm install && ts-patch install -s && patch-package --patch-dir ../api/patches/ && npm run build",
+		"setup": "node scripts/install.js && npm install --no-optional && ts-patch install -s && patch-package --patch-dir ../api/patches/ && npm run build",
 		"build": "node scripts/build.js",
 		"start": "node scripts/build.js && node dist/bundle/src/start.js",
 		"start:bundle": "node dist/bundle/src/start.js",