🐛 build bundle
This commit is contained in:
parent
04355a6661
commit
04072b60e8
@ -5,7 +5,6 @@
|
|||||||
"main": "dist/Server.js",
|
"main": "dist/Server.js",
|
||||||
"types": "dist/Server.d.ts",
|
"types": "dist/Server.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run build",
|
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
"start": "npm run build && node dist/start",
|
"start": "npm run build && node dist/start",
|
||||||
|
@ -5,7 +5,11 @@
|
|||||||
"main": "src/start.js",
|
"main": "src/start.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "cd ../util && npm i && cd ../api && npm i && cd ../cdn && npm i && cd ../gateway && npm i",
|
"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",
|
"start": "npm run build && node dist/start.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run build",
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"build": "npx tsc -b .",
|
"build": "npx tsc -b .",
|
||||||
"start": "npm run build && node dist/start.js"
|
"start": "npm run build && node dist/start.js"
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run build",
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "npm run build && node dist/start.js",
|
"start": "npm run build && node dist/start.js",
|
||||||
"build": "npx tsc -b .",
|
"build": "npx tsc -b .",
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run build",
|
|
||||||
"build": "npx tsc -b ."
|
"build": "npx tsc -b ."
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user