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",