Too Long; Didn't Read
How to Upload to Amazon S3 via AWS CLI and NPM scripts: How to upload your site to S3 by running one simple command in your project terminal. This guide assumes that you have some familiarity navigating the AWS Console and each Amazon Web Service. We will be using Amazon IAM (Identity and Access Management) too. This method will work for any NPM project that uses a package.json file to control project dependencies and. NPM. scripts. This script is very simple and will save you a lot of time and save you time.