mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
947fa74b9e
refs https://github.com/TryGhost/Team/issues/1166 This will be handled by a payments module instead. In order to disconnect Stripe we must delete all Stripe related data, which means an Offer doesn't inherently have a stripe coupon id. Instead we can use a payments service which will get/create the coupon for us when we need it. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
jsconfig.json | ||
LICENSE | ||
package.json | ||
README.md |
Offers
Install
npm install @tryghost/offers --save
or
yarn add @tryghost/offers
Usage
Develop
This is a mono repository, managed with lerna.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests