From 33e55876a2329b3c51fd8929d6c618d142ab3439 Mon Sep 17 00:00:00 2001 From: noogen Date: Thu, 11 Apr 2019 10:03:54 -0500 Subject: [PATCH] update deployment script --- package.json | 9 ++++----- serverless.yml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index cb28367..0363062 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/serverless.yml b/serverless.yml index 8004cc7..31eb610 100644 --- a/serverless.yml +++ b/serverless.yml @@ -23,7 +23,7 @@ provider: runtime: nodejs8.10 stage: ${opt:stage, 'dev'} region: us-east-1 - timeout: 60 + timeout: 30 iamRoleStatements: - Effect: "Allow" Action: