JSPM

serverless-hooks-plugin

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1550
  • Score
    100M100P100Q111106F
  • License ISC

A plugin to give access from config to hooks for serverless

Package Exports

  • serverless-hooks-plugin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-hooks-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Serverless Hooks Plugin

How to use

Install from npm

  1. Ensure your project has a valid package.json.
  2. Run npm install --save serverless-hooks-plugin.
  3. Add serverless-hooks-plugin to the list of plugins in serverless.yml. The plugins list is an array at the root level (an example serverless.yml is included in this project).
  4. Add an array of hooks to be used as per examples, at custom: hooks.
  1. Copy serverless-hooks-plugin.js into .serverless-plugins in the serverless project. You may need to create this folder.
  2. Add serverless-hooks-plugin to the list of plugins in serverless.yml. The plugins list is an array at the root level (an example serverless.yml is included in this project).
  3. Add an array of hooks to be used as per examples, at custom: hooks.