From d8bb296d3ca837a18232b4174573512d5281d64d Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 20 Jan 2022 18:35:59 +0200 Subject: [PATCH] UI: Add script to generate types in the project --- ui-ngx/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 7308a86c9e..1ae3b84cb9 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -6,6 +6,7 @@ "start": "node --max_old_space_size=8048 ./node_modules/@angular/cli/bin/ng serve --configuration development --host 0.0.0.0 --open", "build": "ng build", "build:prod": "ng build --configuration production --vendor-chunk", + "build:type": "rm -rf target/type && ./node_modules/.bin/ngc --p src/tsconfig.app.json --declaration --outDir target/type && find target/type -type f -name '*.js*' -delete", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e",