@paypal/paypal-js

v5.0.5
Loading wrapper and TypeScript types for the PayPal JS SDK
paypal sdk async script loader types typescript typescript-definitions

lint

eslint .

test

jest --env=jsdom src

build

rm -rf dist && rollup --config

format

prettier --write .

prepare

husky install

release

standard-version --commit-all

test:e2e

BASE_URL=http://localhost:4444 jest -c e2e-tests/jest.config.js

validate

npm run check-node-version && npm run format:check && npm run typecheck && npm run build && npm run lint && npm test -- --coverage && npm run test:bundle

typecheck

tsc --noEmit

prerelease

npm run validate

postrelease

git push && git push --follow-tags && npm run build && npm publish

test:bundle

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

format:check

prettier --check .

test:e2e:start

node e2e-tests/http-server.js

check-node-version

node scripts/check-node-version.js
npm i @paypal/[email protected]

Metadata

Downloads