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

🐛 fix install script

This commit is contained in:
Flam3rboy 2021-09-23 16:30:28 +02:00
parent c238f86932
commit 390493b8d4
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,6 @@
"main": "dist/Server.js",
"types": "dist/Server.d.ts",
"scripts": {
"prepare": "",
"test:only": "jest --coverage --verbose --forceExit ./tests",
"test": "npm run build && npm run test:only",
"test:watch": "jest --watch",

View File

@ -4,9 +4,9 @@
"description": "",
"main": "src/start.js",
"scripts": {
"prepare": "ts-patch install -s",
"preinstall": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i",
"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",
"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 .",
"build:util": "cd ../util/ && npm run build",
"build:api": "cd ../api/ && npm run build",