@paypal/paypal-js

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

lint

eslint .

test

jest --env=jsdom src

build

rm -rf dist && rollup --config

format

prettier --write .

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

postpublish

pinst --enable

test:bundle

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

_postinstall

husky install

prepublishOnly

pinst --disable

test:e2e:start

serve
npm i @paypal/[email protected]

Metadata

Downloads