fix build scripts (#1313)

This commit is contained in:
Adina Parpalita
2020-01-22 13:27:29 +01:00
committed by Martin Muller
parent 34c559c7d5
commit 9e4e4a9b0c
+3 -3
View File
@@ -9,11 +9,11 @@
"build:aos-extension": "npx rimraf dist/@alfresco/adf-office-services-ext && ng build adf-office-services-ext && cpr projects/adf-office-services-ext/ngi.json dist/@alfresco/adf-office-services-ext/ngi.json && cpr projects/adf-office-services-ext/assets dist/@alfresco/adf-office-services-ext/assets",
"build.shared": "ng build aca-shared",
"build.aos": "npm run build:aos-extension",
"build.extensions": "npm run build.shared && npm run build:aos-extension",
"build.extensions": "npm run build.shared && npm run build.aos",
"build.app": "node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app",
"build": "npm run validate-config && build.extensions && npm run build.app -- --prod",
"build": "npm run validate-config && npm run build.extensions && npm run build.app -- --prod",
"build.js-api": "./scripts/install-local-js-api.sh && npm run build",
"build.adf": "./scripts/install-local-adf.sh && build.extensions && npm run build.app",
"build.adf": "./scripts/install-local-adf.sh && npm run build.extensions && npm run build.app",
"build.e2e": "npm run build.extensions && npm run build.app -- --prod --configuration=e2e",
"test": "ng test app --code-coverage",
"test:ci": "npm run build.extensions && ng test adf-office-services-ext --watch=false && ng test app --code-coverage --watch=false",