JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 100
  • Score
    100M100P100Q79248F
  • License GPL-3.0-only

Static site construct

Package Exports

  • aws-cdk-static-site

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aws-cdk-static-site) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

AWS SDK static site deployment

Create and deploy a static site using a public S3 bucket.

Git Commit Guidelines

Please follow the Angular Commit Message Conventions.

Publishing to npm

Publishing to npm requires the NPM_TOKEN environment variable to be present.

export NPM_TOKEN=token-value

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

CI/CD setup using this post.