1312943f5b
no-issue This simplifies the handling of updating redirects for a code, and doesn't affect our application layer because we never have the need to change a code twice. In future this should be replaced with events at the domain level - so that we do not have to track changed properties and instead a redirect service can listen to events, which would be dispatched on a successful save by the repository. |
||
---|---|---|
.. | ||
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