@americanexpress/one-app-statics

One App Static Assets

Usage no npm install needed!

<script type="module">
  import americanexpressOneAppStatics from 'https://cdn.skypack.dev/@americanexpress/one-app-statics';
</script>

README

One App - One Amex

One App Client Assets and CDN

๐Ÿšจ Important ๐Ÿšจ

This Package is not meant to be installed using npm, it only serves as the origin for the CDN for the static client assets for one-app once published to npm, if you are looking for one-app follow this link: https://github.com/americanexpress/one-app

๐Ÿ‘ฉโ€๐Ÿ’ป Hiring ๐Ÿ‘จโ€๐Ÿ’ป

Want to get paid for your contributions to one-app?

Send your resume to oneamex.careers@aexp.com

๐Ÿ“– Table of Contents

โœจ Features

  • Improved performance by serving the one app client static assets from a CDN
  • Enhanced security with Subresource Integrity

๐Ÿคนโ€ Usage with JSDelivr and Docker

Static assets are created for the correct docker image version in Docker Hub:

One App Production Docker Image

Configure your ONE_CLIENT_URL environment variable to point at the correct version of the assets in JSDelivr

Example:

ONE_CLIENT_CDN_URL=https://cdn.jsdelivr.net/npm/@americanexpress/one-app-statics@5.0.0-rc.1/build/

๐Ÿ† Contributing

We welcome Your interest in the American Express Open Source Community on Github. Any Contributor to any Open Source Project managed by the American Express Open Source Community must accept and sign an Agreement indicating agreement to the terms below. Except for the rights granted in this Agreement to American Express and to recipients of software distributed by American Express, You reserve all right, title, and interest, if any, in and to Your Contributions. Please fill out the Agreement.

Please see our CONTRIBUTING.md.

๐Ÿ—๏ธ License

Any contributions made under this project will be governed by the Apache License 2.0.

๐Ÿ—ฃ๏ธ Code of Conduct

This project adheres to the American Express Community Guidelines. By participating, you are expected to honor these guidelines.