serverless-run-function-plugin
v0.0.6
Published
Serverless plugin to run a function
Downloads
22
Readme
Serverless Run Function Plugin
Serverless plugin to run a lambda function locally.
To use, add it to your serverless.yml
under plugins:
functions:
hello:
handler: handler.hello
plugins:
- serverless-run-function-plugin
Then run sls run -f hello
to run the function.
Functionality is the same as it used to be in core serverless v0.
Roadmap
- Test that it actually works ;)
- Each test case should have only one assertion
- Add back eslint rule for default exports
- Version checking for correct version of serverless
Goals
- Replace v0.5 runFunction Plugin
- Integrate plugin into core serverless
Contribution guidelines
- Write TDD
- Use Airbnb es linter
- Write as functional code as possible