sw-deploydeprecated

Static Website Deployment Tool

Usage no npm install needed!

<script type="module">
  import swDeploy from 'https://cdn.skypack.dev/sw-deploy';
</script>

README

SW-DEPLOY

Static Asset Website Deployment Tool

  • Currently Supports Deploying to AWS S3

Getting Started

These instructions will get you deploying the front end app as static website.

Prerequisites

  • NodeJS (Latest)

Install

You should install it in global scope

npm install -g sw-deploy

Running

Run the following command in your project path.

The compiled files should be in dist folder of your project root.

sw-deploy

Provide Credentials to start deploying.

Upcoming Features

  • A project specific JSON config file to store the credentials.
  • Option to change production build directory at runtime.
  • Command to listing and cleaning of unused objects in the bucket.
  • Configuration of additional Content-Encoding to other file extenstions.