From e538d4288d421a114d3183cf4b3157f29011de3c Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 21 Jan 2022 15:19:43 +0200 Subject: [PATCH] UI: Updated build:types script --- ui-ngx/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 1ae3b84cb9..ea004ccfa2 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -6,7 +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", + "build:types": "rm -rf target/types && ./node_modules/.bin/ngc --p src/tsconfig.app.json --declaration --outDir target/types/src && find target/types/src -type f -name '*.js*' -delete && cp src/app/modules/common/modules-map.ts target/types/src/app/modules/common/modules-map.ts", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e",