This command creates a zip to deploy aws lambda function.
It creates a package that excludes the following files.
- files specified in
.gitignore - modules specified in
devDependencies
npm install uiureo/aws-lambda-zip
Just run in the directory.
❯ ls
README.md
index.js
lib
node_modules
package.json
test
❯ aws-lambda-zip
# creates lambda.zipgit