From b4551bb5ca8b045a5bd341d9190fa90139df1872 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 2 May 2023 15:06:05 +0100 Subject: [PATCH] Fix scripts --- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index e6680f0b86..d7c0bf4851 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -10,7 +10,7 @@ }, "scripts": { "prebuild": "rimraf dist/", - "build": "./scripts/build.js", + "build": "node ./scripts/build.js", "tsbuild": "tsc -p tsconfig.build.json && mv dist/src/* dist/ && rimraf dist/src/", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js", diff --git a/packages/worker/package.json b/packages/worker/package.json index f91a83dcab..ded8abbecb 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -13,7 +13,7 @@ ], "scripts": { "prebuild": "rimraf dist/", - "build": "../../scripts/build.js", + "build": "node ../../scripts/build.js", "tsbuild": "tsc -p tsconfig.build.json", "postbuild": "copyfiles -u 1 src/**/*.hbs dist/", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",