🐛 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 a2a31b9485
commit c571d989e8
+1 -1
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 .",