Ghost/ghost/stripe
Daniel Lockyer db696a9272 Added --all to c8 command
refs https://github.com/TryGhost/Toolbox/issues/203

- without `--all`, c8 ignores files that should be included in the
  coverage score but aren't used in tests
- this means we have artificially high scores in places where this isn't
  used
- this commit adds `--all` where previously missing
- where this fails `--check-coverage`, that has been removed for now
2022-02-21 13:08:55 +01:00
..
lib 🐛 Fixed StripeAPI disconnection 2022-02-18 22:21:56 +13:00
test Moved the last of the Stripe config out of Members 2022-02-15 10:57:40 +02:00
.eslintrc.js Removed @babel/eslint-parser, set ecmaVersion instead 2022-02-15 12:30:17 +00:00
index.js Moved members-stripe-service -> stripe 2022-01-18 10:25:37 +02:00
LICENSE Moved members-stripe-service -> stripe 2022-01-18 10:25:37 +02:00
package.json Added --all to c8 command 2022-02-21 13:08:55 +01:00
README.md Updated README 2022-01-31 18:17:45 +02:00
yarn.lock Moved members-stripe-service -> stripe 2022-01-18 10:25:37 +02:00

Stripe Service

Install

npm install @tryghost/members-stripe-service --save

or

yarn add @tryghost/members-stripe-service

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests