https://github.com/paypal/paypal-common-components
Common components for PayPal JavaScript SDK
https://github.com/paypal/paypal-common-components
Last synced: 4 months ago
JSON representation
Common components for PayPal JavaScript SDK
- Host: GitHub
- URL: https://github.com/paypal/paypal-common-components
- Owner: paypal
- License: apache-2.0
- Created: 2019-05-14T01:15:27.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T17:26:19.000Z (about 2 years ago)
- Last Synced: 2024-07-10T21:08:15.398Z (about 2 years ago)
- Language: JavaScript
- Size: 255 KB
- Stars: 16
- Watchers: 20
- Forks: 41
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
## PayPal Common Components
[![build status][build-badge]][build]
[![code coverage][coverage-badge]][coverage]
[![npm version][version-badge]][package]
[![apache license][license-badge]][license]
[build-badge]: https://img.shields.io/github/actions/workflow/status/paypal/paypal-common-components/main.yml?branch=main&logo=github&style=flat-square
[build]: https://github.com/paypal/paypal-common-components/actions?query=workflow%3Abuild
[coverage-badge]: https://img.shields.io/codecov/c/github/paypal/paypal-common-components.svg?style=flat-square
[coverage]: https://codecov.io/github/paypal/paypal-common-components/
[version-badge]: https://img.shields.io/npm/v/@paypal/common-components.svg?style=flat-square
[package]: https://www.npmjs.com/package/@paypal/common-components
[license-badge]: https://img.shields.io/npm/l/@paypal/common-components.svg?style=flat-square
[license]: https://github.com/paypal/paypal-common-components/blob/master/LICENSE
Common components for the PayPal JavaScript SDK
## Development
Please feel free to follow the [Contribution Guidelines](./CONTRIBUTING.md) to contribute to this repository. PRs are welcome, but for major changes please raise an issue first.
### Quick Setup
Set up your env:
```bash
npm install
```
Run tests:
```bash
npm test
```
Run in dev mode:
```bash
npm run dev
```
## Test Tasks
```
npm test
```
| Flags | Description |
| ------------- | -------------------------------------------- |
| --clear-cache | Clear Babel Loader and PhantomJS cache |
| --debug | Debug mode. PhantomJS, Karma, and CheckoutJS |
| --quick | Fastest testing. Minimal output, no coverage |
| --browser | Choose Browser |