Create zip file of bundled application

This commit is contained in:
Samer Albahra
2019-05-13 14:20:07 -05:00
parent 0788bd48ea
commit f850f4d254
3 changed files with 23 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
branch-defaults:
master:
environment: os-weather
environment-defaults:
os-weather:
branch: null
repository: null
global:
application_name: Weather
default_ec2_keyname: null
default_platform: arn:aws:elasticbeanstalk:us-west-2::platform/Node.js running on
64bit Amazon Linux/4.8.1
default_region: us-west-2
include_git_submodules: true
instance_profile: null
platform_name: null
platform_version: null
profile: eb-cli
sc: git
workspace_type: Application
deploy:
artifact: weather.zip

5
.gitignore vendored
View File

@@ -6,8 +6,3 @@ npm-debug.log
.vscode .vscode
.idea .idea
js js
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

View File

@@ -7,6 +7,7 @@
"test": "mocha --exit test", "test": "mocha --exit test",
"start": "npm run compile && node js/server", "start": "npm run compile && node js/server",
"dev": "node scripts/serve", "dev": "node scripts/serve",
"bundle": "zip weather.zip -r js package.json package-lock.json",
"compile": "tsc" "compile": "tsc"
}, },
"dependencies": { "dependencies": {