@paypal/paypal-js
v8.0.0-beta.2 paypal sdk async script loader types typescript typescript-definitions
lint
eslint .
test
vitest src
build
rm -rf dist && rollup --config --bundleConfigAsCjs
format
prettier --write .
openapi
npm run openapi-orders && npm run openapi-subscriptions
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 .
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
check-node-version
node scripts/check-node-version.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