@paypal/common-components

v1.0.50
PayPal common components, for integrating checkout products.
cross-domain cross domain components component krakenjs kraken

flow

flow

lint

eslint --ext .js --ext .jsx src/ test/ *.js

test

npm run format:check && npm run lint && npm run flow && npm run karma

build

npm run test && npm run webpack

clean

rimraf dist coverage

debug

cross-env NODE_ENV=debug

karma

cross-env NODE_ENV=test babel-node $(npm bin)/karma start

format

prettier --write --ignore-unknown .

prepare

husky install

release

./scripts/publish.sh

version

./scripts/version.sh

webpack

babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack -- --progress

reinstall

rimraf flow-typed && rimraf node_modules && npm install && flow-typed install

flow-typed

rm -rf flow-typed && flow-typed install

preversion

./scripts/preversion.sh

postversion

./scripts/postversion.sh

format:check

prettier --check .

release:major

./scripts/publish.sh major

release:minor

./scripts/publish.sh minor

release:patch

./scripts/publish.sh patch

eslint-find-rules

eslint-find-rules --current .eslintrc.js --unused --plugin
npm i @paypal/common-components

Metadata

Downloads