A set of components allowing easy integration of PayPal Buttons and PayPal Checkout into your site, powered by zoid.
Please feel free to follow the Contribution Guidelines to contribute to this repository. PRs are welcome, but for major changes please raise an issue first.
Set up your env:
Run in dev mode:
npm run dev
Runs all testing tasks
|--clear-cache||Clear Babel Loader and PhantomJS cache|
|--debug||Debug mode. PhantomJS, Karma, and CheckoutJS|
|--quick||Fastest testing. Minimal output, no coverage|
npm run lint npm run lint -- --fix # attempt to automatically fix any problems
npm run flow
npm run karma npm run karma -- --keep-open # keeps the test browser window open to allow debugging npm run karma -- --capture-console # dumps the browser's console output into the terminal
npm run jest-ssr
Checks for the correct rendering of components on the server-side using Jest.
npm run jest-screenshot
npm run check-size
Checks to make sure that the compiled & gzipped bundle doesn't exceed the recommended size limit.
This package is published weekly, Every Wednesday. Please view our Changelog to stay updated with bug fixes and new features.