Create zip file of bundled application
This commit is contained in:
22
.elasticbeanstalk/config.yml
Normal file
22
.elasticbeanstalk/config.yml
Normal 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
5
.gitignore
vendored
@@ -6,8 +6,3 @@ npm-debug.log
|
|||||||
.vscode
|
.vscode
|
||||||
.idea
|
.idea
|
||||||
js
|
js
|
||||||
|
|
||||||
# Elastic Beanstalk Files
|
|
||||||
.elasticbeanstalk/*
|
|
||||||
!.elasticbeanstalk/*.cfg.yml
|
|
||||||
!.elasticbeanstalk/*.global.yml
|
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user