Serverless Layers

homepage icon https://github.com/agutoli/serverless-layers
Follow @agutoli

Tracked

NPM Downloads Last Month
317
Issues
1
Stars
13
Forks
1
Watchers
13
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

serverless-layers

serverless Issues License NPM Build Status PRs Welcome

Requirements

Install

npm install -D serverless-layers

Add the plugin to your serverless.yml file:

Serverless configuration

provider:
  ...
  deploymentBucket: #required!
    name: "your_bucket"

package:
  individually: false
  exclude:
    - node_modules/**
  excludeDevDependencies: true

plugins:
  - serverless-layers

Options

custom:
  serverless-layers:
    compileDir: '.serverless',
    packagePath: 'package.json',
    compatibleRuntimes: ['nodejs'],
    layersDeploymentBucket: "your_layers_bucket"

Contributing

Yes, thank you! This plugin is community-driven, most of its features are from different authors. Please update the docs and tests and add your name to the package.json file. We try to follow Airbnb’s JavaScript Style Guide.

License

MIT