Socket
Book a DemoInstallSign in
Socket

serverless-offline-ses-v2

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-offline-ses-v2

Serverless plugin to run aws-ses-v2-local

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
1.4K
-17.49%
Maintainers
1
Weekly downloads
 
Created
Source

serverless-offline-ses-v2

Serverless plugin to run aws-ses-v2-local

Supports the AWS SES API v1 and v2, and Serverless Framework v2 and v3

Install

npm install --save-dev serverless-offline-ses-v2

Usage

Serverless configuration

Add it to your list of plugins, and optinally custom config

serverless.yaml:

plugins:
  - serverless-offline
  - serverless-offline-ses-v2

custom:
  serverless-offline-ses-v2:
    port: 8005

serverless.js / serverless.ts:

export default {
  plugins: [
    "serverless-offline",
    "serverless-offline-ses-v2",
  ],
  custom: {
    'serverless-offline-ses-v2': {
      port: 8005,
    }
  }
}

Running serverless-offline

Use serverless offline start instead of serverless offline, if you aren't already. This is necessary for serverless-offline to fire off init and end lifecycle hooks so that we can start and stop the aws-ses-v2-local server correctly.

Contributing

Pull requests are welcomed on GitHub! To get started:

  • Install Git and Node.js
  • Clone the repository
  • Install dependencies with npm install
  • Run npm run test to run tests with Jest
  • Build with npm run build

Releases

Versions follow the semantic versioning spec.

To release:

  • Use npm version <major | minor | patch> to bump the version
  • Run git push --follow-tags to push with tags
  • Wait for GitHub Actions to publish to the NPM registry.

FAQs

Package last updated on 24 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts