kotarella1110-sandbox / serverless-webpack-starter

πŸš€ Serverless Webpack StarterKit for Serverless Framework, webpack3, Babel (6/7), ESLint, Prettier, Jest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸš€ Serverless Webpack StarterKit for Serverless Framework, webpack3, Babel (6/7), ESLint, Prettier, Jest

License:MIT License


Languages

Language:JavaScript 100.0%