diff --git a/README.md b/README.md index fb7090d..d5abef2 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ Serverless Select Plugin ============================= [![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com) [![npm version](https://badge.fury.io/js/serverless-plugin-select.svg)](https://badge.fury.io/js/serverless-plugin-select) -[![dependencies](https://img.shields.io/david/FidelLimited/serverless-plugin-select.svg)](https://www.npmjs.com/package/serverless-plugin-select) +[![npm downloads](https://img.shields.io/npm/dm/serverless-plugin-select.svg)](https://www.npmjs.com/package/serverless-plugin-select) [![license](https://img.shields.io/npm/l/serverless-plugin-select.svg)](https://raw.githubusercontent.com/FidelLimited/serverless-plugin-select/master/LICENSE) Select which functions are to be deployed based on region and stage. -**Note:** Requires Serverless *v1.2.x* or higher. +**Note:** Requires Serverless *v1.12.x* or higher. ## Setup diff --git a/package.json b/package.json index a7d29bb..c30d6c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-plugin-select", - "version": "1.0.1-rc.1", + "version": "2.0.0-rc.1", "description": "Serverless plugin that selects which functions are to be deployed.", "main": "src/index.js", "scripts": { @@ -28,6 +28,6 @@ "bluebird": "^3.5.0" }, "devDependencies": { - "standard": "^9.0.1" + "standard": "^10.0.2" } } diff --git a/src/index.js b/src/index.js index b0fe1c1..0c96bee 100644 --- a/src/index.js +++ b/src/index.js @@ -28,7 +28,7 @@ class Select { /** Serverless hooks */ this.hooks = { - 'after:deploy:initialize': this.deployHook.bind(this), + 'after:package:initialize': this.deployHook.bind(this), 'before:deploy:function:initialize': this.deployHook.bind(this) } }