1.0.15 • Published 7 years ago

bokoblin v1.0.15

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Bokoblin

Bokoblin is an opinionated scaffolding generator for AWS Lambda functions. It bundles together a set of tools which facilitate fast development and deployment of Lambda functions by providing:

  • flow
  • jasmine
  • webpack
  • deployment scripts

Requirements

  • aws-cli tool

Usage

Installation

Install globally with either npm

npm install bokoblin -g

or Yarn

yarn global add bokoblin

Generating a lambda

To generate a new lambda function you need to specify its name and the indentifier of the IAM role which Amazon will assign to it.

bokoblin MyNewFunction arn:aws:iam::123456789123456:role/lambda_basic_execution

cd MyNewFunction

Then initialize your test suite with:

yarn test init

Develop your code in app/component.js.

Scripts

You get the following out of the box:

  • yarn flow - carries out static type checking with flow
  • yarn build - builds the function into build/component.js
  • yarn test - builds the function and runs jasmine specs
  • yarn push - build the function, runs specs, and pushes to Amazon AWS
1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago