https://github.com/bbenzikry/serverless-webpack-boilerplate
A boilerplate for fast FaaS development using serverless-webpack
https://github.com/bbenzikry/serverless-webpack-boilerplate
Last synced: over 1 year ago
JSON representation
A boilerplate for fast FaaS development using serverless-webpack
- Host: GitHub
- URL: https://github.com/bbenzikry/serverless-webpack-boilerplate
- Owner: bbenzikry
- Created: 2017-05-20T03:44:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-18T12:00:03.000Z (about 9 years ago)
- Last Synced: 2025-02-13T19:47:44.077Z (over 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serverless-webpack-boilerplate
A boilerplate for fast FaaS development using serverless-webpack
[Serverless](https://serverless.com/) + Webpack + ES6(stage-0) + Jest
Uses [awilix](https://github.com/jeffijoe/awilix) for DI
```bash
$ npm i
$ npm run serve # Run endpoints locally
$ npm run pack # Pack bundle into .webpack folder
$ npm run test # Run jest tests
$ npm run build # Test and build package to .webpack folder
```
# TODO
- Yeoman scaffolding for new functions
- Allow to decide whether to seperate bundles for multiple entry points
- Add code coverage
# Notes and caveats:
> The boilerplate uses eslint-babel.
If you install eslint globally, be sure to install the eslint-babel plugin as well
>