diff --git a/package.json b/package.json index 9a501bffc..02052fb3b 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,11 @@ "ng": "ng", "start": "npm run validate-config && ng serve --open", "start:prod": "npm run validate-config && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng serve --prod --open", - "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-extension": "npx rimraf dist/@alfresco/adf-office-services-ext && ng build adf-office-services-ext --prod && 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 --prod", "build.aos": "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.app": "node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app --prod", "build": "npm run validate-config && npm run build.app -- --prod", "build.e2e": "npm run build.app -- --prod --configuration=e2e", "test": "ng test app --code-coverage",