Serverless Webpack StarterKit
This is a simple starterkit for Serverless applications.
This starterkit is based on:
Installation
Download or clone this repo, then install Node.js using nvm.
$ cd to/this/dir
$ nvm install
$ nvm use
Install yarn
if you don't have.
$ npm install -g yarn
Install package.
$ yarn install
Run locally
$ yarn start
Open the URL shown in your browser.
Build
Development
$ yarn build
Production
$ yarn build:prod
Deploy
Development
$ yarn deploy
Production
$ yarn deploy:prod
Deploy Function
Development
$ yarn deploy:func -- --function functionName
Production
$ yarn deploy:func:prod -- --function functionName
Lint
$ yarn lint
Test
$ yarn test
License
MIT