From b44f356d9efbdfdae920f0a7853df20c366b5fc8 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 8 Oct 2021 10:43:43 +0200 Subject: :sparkles: bundle build script --- api/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'api/package.json') diff --git a/api/package.json b/api/package.json index eb833417..3f0315ae 100644 --- a/api/package.json +++ b/api/package.json @@ -10,7 +10,7 @@ "test": "npm run build && npm run test:only", "test:watch": "jest --watch", "start": "npm run build && node dist/start", - "build": "npx swc src --out-dir dist", + "build": "npx tsc -b .", "build-docker": "tsc -p tsconfig-docker.json", "dev": "tsnd --respawn src/start.ts", "patch": "ts-patch install -s && npx patch-package", @@ -69,6 +69,7 @@ "ts-node": "^9.1.1", "ts-node-dev": "^1.1.6", "ts-patch": "^1.4.4", + "tsup": "^5.4.0", "typescript": "^4.4.2", "typescript-json-schema": "0.50.1" }, @@ -86,6 +87,7 @@ "dot-prop": "^6.0.1", "dotenv": "^8.2.0", "env-paths": "^2.2.1", + "esbuild": "^0.13.4", "express": "^4.17.1", "express-validator": "^6.9.2", "form-data": "^3.0.0", -- cgit 1.5.1