1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-25 03:33:33 +01:00

🐛 prepare/postinstall only works for packages not local npm install

This commit is contained in:
Flam3rboy 2021-09-23 16:58:07 +02:00
parent 390493b8d4
commit 77ac8a96a7

View File

@ -4,7 +4,7 @@
"description": "",
"main": "src/start.js",
"scripts": {
"prepare": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i",
"setup": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i && npm install && npm run start",
"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
"postinstall": "ts-patch install -s",
"build:bundle": "npx tsc -b .",