1.0.6 • Published 8 years ago

gulp-package-aws-lambda v1.0.6

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

gulp-package-aws-lambda

Gulp plugin to package the src js code plus all the "dependencies" inside a zip archive that can be deployed into lambda aws.

Get started

Install

npm gulp-package-aws-lambda

Examples

var gulp = require('gulp');


// Specify the folders of your project (srcFiles inside the src folder) 
var options =  {"src": "src", "dest": "dist", "srcFiles": ["index.js"]};

// pass a gulp reference 
var packageAwsLambdaTask = require('gulp-package-aws-lambda')(gulp, options);

// exec the "task"
packageAwsLambdaTask();