Skip to content

Commit

Permalink
update deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Apr 11, 2019
1 parent eb905fd commit 33e5587
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
"description": "GTIN cloud storage strategy ",
"main": "handler.js",
"scripts": {
"deploy": "sls deploy",
"deploy-prod": "sls deploy --stage prod",
"lint": "eslint --ext .js,.jsx ./",
"lint-fix": "eslint --fix --ext .js,.jsx ./",
"serverless": "node_modules/.bin/serverless",
"sls": "node_modules/.bin/serverless",
"service-info": "sls info",
"deploy": "sls deploy --stage prod",
"service-info": "sls info --stage prod",
"lint": "eslint --ext .js,.jsx ./",
"lint-fix": "eslint --fix --ext .js,.jsx ./",
"local": "cross-env DEBUG=gtin-cloud SLS_DEBUG=* node_modules/.bin/serverless offline --stage dev",
"test": "jest"
},
Expand Down
2 changes: 1 addition & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ provider:
runtime: nodejs8.10
stage: ${opt:stage, 'dev'}
region: us-east-1
timeout: 60
timeout: 30
iamRoleStatements:
- Effect: "Allow"
Action:
Expand Down

0 comments on commit 33e5587

Please sign in to comment.