UI: Updated build:types script

This commit is contained in:
Vladyslav_Prykhodko 2022-01-21 15:19:43 +02:00
parent d8bb296d3c
commit e538d4288d

View File

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