@paypal/paypal-js

v8.0.2
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

openapi

npm run openapi-orders && npm run openapi-subscriptions

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 -- --watch=false --coverage.enabled --coverage.include=src && 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/**

openapi-orders

openapi-typescript node_modules/@paypal/paypal-rest-api-specifications/openapi/checkout_orders_v2.json -o types/apis/openapi/checkout_orders_v2.d.ts

test:e2e:debug

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

test:e2e:start

node e2e-tests/http-server.js

openapi-subscriptions

openapi-typescript node_modules/@paypal/paypal-rest-api-specifications/openapi/billing_subscriptions_v1.json -o types/apis/openapi/billing_subscriptions_v1.d.ts
npm i @paypal/[email protected]

Metadata

Downloads