8a82bee978
refs https://github.com/TryGhost/Team/issues/1466 We need to include an exhaustive list of tiers and cadences in the metadata so that clients knows which data to expect, as we have multiple rows for a single date, broken down by tier/cadence. We also include the totals broken down by tier/cadence for use with the paid mix chart. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json |
Stats
Stats service
Install
npm install @tryghost/stats --save
or
yarn add @tryghost/stats
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
Copyright & License
Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.