@paypal/paypal-js

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

lint

eslint .

test

vitest src

build

rm -rf dist && rollup --config --bundleConfigAsCjs

format

prettier --write .

prepare

husky install

release

standard-version --commit-all

test:e2e

playwright test

validate

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

typecheck

tsc --noEmit

prerelease

npm run validate

postrelease

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

test:bundle

vitest bundle-tests/**

format:check

prettier --check .

test:e2e:debug

PWDEBUG=1 playwright test --project="chromium"

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