Skip to content

Commit

Permalink
Merge pull request #2 from FidelLimited/update-sls
Browse files Browse the repository at this point in the history
Update sls
  • Loading branch information
goncaloneves authored May 8, 2017
2 parents bc3f948 + b337b45 commit a126cde
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -28,6 +28,6 @@
"bluebird": "^3.5.0"
},
"devDependencies": {
"standard": "^9.0.1"
"standard": "^10.0.2"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit a126cde

Please sign in to comment.