0.1.2 • Published 6 years ago

generator-lambda-basic v0.1.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
6 years ago

generator-lambda-basic NPM version Build Status Dependency Status

This generator creates an absolutely minimal AWS Lambda app skeleton in typescript.

Installation

First, install Yeoman and generator-lambda-basic using npm (we assume you have pre-installed node.js).

npm install -g yo typescript
npm install -g generator-lambda-basic

Then generate your new project:

yo lambda-basic

Build

npm run build

Deployment

Zip all transpiled javascript files under the js folder along with node_modules, and upload it to Lambda.

In the AWS Lambda console, set the handler to index.default.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Harry Y