1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

🐛 build bundle

This commit is contained in:
Flam3rboy 2021-08-15 22:36:35 +02:00
parent 04355a6661
commit 04072b60e8
5 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,6 @@
"main": "dist/Server.js",
"types": "dist/Server.d.ts",
"scripts": {
"postinstall": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"start": "npm run build && node dist/start",

View File

@ -5,7 +5,11 @@
"main": "src/start.js",
"scripts": {
"postinstall": "cd ../util && npm i && cd ../api && npm i && cd ../cdn && npm i && cd ../gateway && npm i",
"build": "npx tsc -b .",
"build": "npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
"build:bundle": "npx tsc -b .",
"build:api": "cd ../api/ && npm run build",
"build:cdn": "cd ../cdn/ && npm run build",
"build:gateway": "cd ../gateway/ && npm run build",
"start": "npm run build && node dist/start.js",
"test": "echo \"Error: no test specified\" && exit 1"
},

View File

@ -5,7 +5,6 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"postinstall": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npx tsc -b .",
"start": "npm run build && node dist/start.js"

View File

@ -4,7 +4,6 @@
"description": "",
"main": "dist/index.js",
"scripts": {
"postinstall": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npm run build && node dist/start.js",
"build": "npx tsc -b .",

View File

@ -5,7 +5,6 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"postinstall": "npm run build",
"build": "npx tsc -b ."
},
"repository": {