This commit is contained in:
sriram-at-840620226347 2020-01-14 18:25:14 +05:30
commit 242385015c
2 changed files with 3 additions and 2 deletions

View File

@ -11,11 +11,12 @@ pipelines:
- step:
caches:
- node
size: 2x # Double resources available for this step.
script: # Modify the commands below to build your repository.
- cd ng6-seed
- npm install
- npm install -g @angular/cli
- npm run staging
- node --max_old_space_size=2046 node_modules/@angular/cli/bin/ng build --configuration=staging
- ls -ltr
- cd dist
- pipe: atlassian/aws-s3-deploy:0.3.8

View File

@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"production": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod ",
"staging": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration=staging",
"staging": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build --configuration=staging",
"ng": "ng",
"start": "ng serve",
"build": "ng build",