From 5d945a234c88ef55591afdbb7e95f74b5fba18d7 Mon Sep 17 00:00:00 2001 From: Shahana Farooqui Date: Sun, 1 May 2022 14:37:35 -0400 Subject: [PATCH] Separate script for test and build Separate script for test and build --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 6bb6e052..8707b024 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "scripts": { "ng": "ng", "start": "ng serve --open", + "prebuildfrontendtest": "node src/prebuild.cjs", "prebuildfrontend": "node src/prebuild.cjs", + "buildfrontendtest": "ng test --watch=false && ng build --configuration production", "buildfrontend": "ng test --watch=false && ng build --configuration production", "buildbackend": "tsc --project tsconfig.json", "watchbackend": "tsc --project tsconfig.json --watch",