From 2ac23ae2f5d114876853b453b3abe00c3e84146c Mon Sep 17 00:00:00 2001 From: Alex Chew Date: Wed, 26 Jun 2019 09:12:34 -0700 Subject: [PATCH] Run `npm install` upon `npm run get-dependencies` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9d3b262d1..7c50271cc 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Serverless Developer Portal for API Gateway", "main": "lambda.js", "scripts": { - "get-dependencies": "npm run get-dev-portal-dependencies && npm run get-lambda-dependencies;", + "get-dependencies": "npm install && npm run get-dev-portal-dependencies && npm run get-lambda-dependencies;", "get-lambda-dependencies": "find lambdas/*/package.json -type f -exec sh -c 'cd $(dirname {}) && npm run get-dependencies' \\;", "get-dev-portal-dependencies": "(cd dev-portal; npm run get-dependencies)", "test": "node scripts/test.js",