From 6ca75818f77e5f1018cc0992a1b64016b0bd5ded Mon Sep 17 00:00:00 2001 From: Niels Larmuseau Date: Wed, 22 Mar 2023 10:57:13 +0100 Subject: [PATCH] build --- captain-definition | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/captain-definition b/captain-definition index 5343435..a413196 100644 --- a/captain-definition +++ b/captain-definition @@ -6,7 +6,7 @@ "ENV CAPROVER_GIT_COMMIT_SHA=${CAPROVER_GIT_COMMIT_SHA}", "RUN yarn", "RUN npx prisma generate", - "RUN npx tsc", + "RUN npm build", "ENV NODE_ENV production", "ENV PORT 80", "EXPOSE 80", diff --git a/package.json b/package.json index aff4e82..8d9ffbd 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "index.ts", "scripts": { "start": "npx tsc && node ./bin/index.js", + "build" : "npx tsc", "deploy": "npx tsc && node bin/deploy-commands.js", "test": "echo \"Error: no test specified\" && exit 1" },