stripe

v11.0.0
Stripe API wrapper
stripe payment processing credit cards api

fix

yarn lint --fix && ./scripts/updateAPIVersion.js

lint

eslint --ext .js,.jsx,.ts .

test

yarn build && yarn test-typescript && yarn mocha

build

tsc -p tsconfig.json && yarn remove-exports-line && yarn prettier-format

clean

rm -rf ./.nyc_output ./node_modules/.cache ./coverage ./lib

mocha

nyc mocha --config=test/.mocharc.js

report

nyc -r text -r lcov report

prepack

yarn install && yarn build

coveralls

cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

mocha-only

mocha --config=test/.mocharc.js

prettier-format

prettier --config .prettierrc 'lib/**/*.js' --write

test-typescript

tsc --build types/test

remove-exports-line

sed -i.bak '/Object.defineProperty(exports, "__esModule", { value: true });/d' ./lib/stripe.js; rm ./lib/stripe.js.bak

Metadata

  • MIT
  • >=12.*
  • Stripe
  • released 11/16/2022

Downloads

Maintainers