@paypal/paypal-js

v2.1.6
Client-side loader for the PayPal JS SDK
paypal async script loader types typescript-definitions

lint

eslint .

test

jest --env=jsdom src

build

rm -rf dist && rollup --config

release

node ./scripts/publish

test:e2e

jest -c e2e-tests/jest.config.js

validate

npm run typecheck && npm run build && npm run lint && npm test -- --coverage && npm run test:bundle

typecheck

tsc --noEmit && tsc types/*.ts --noEmit

test:bundle

jest --env=jsdom e2e-tests/bundle/**

release:major

node ./scripts/publish major

release:minor

node ./scripts/publish minor

release:patch

node ./scripts/publish patch

test:e2e:start

serve
npm i @paypal/[email protected]

Metadata

Downloads