1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-23 19:02:29 +03:00
Ghost/ghost/email-analytics-service
Kevin Ansfield bef65aa8a2 Fixed email count check in email-analytics service
no issue

- raw knex `.count()` does not return a straight number, we need to handle an array of rowDataPacket objects
2021-02-24 21:03:29 +00:00
..
lib Fixed email count check in email-analytics service 2021-02-24 21:03:29 +00:00
test Added empty email analytics packages 2021-02-24 21:03:29 +00:00
.eslintrc.js Added empty email analytics packages 2021-02-24 21:03:29 +00:00
index.js Added empty email analytics packages 2021-02-24 21:03:29 +00:00
LICENSE Added empty email analytics packages 2021-02-24 21:03:29 +00:00
package.json Added empty email analytics packages 2021-02-24 21:03:29 +00:00
README.md Added empty email analytics packages 2021-02-24 21:03:29 +00:00

Email Analytics Service

Install

npm install @tryghost/email-analytics-service --save

or

yarn add @tryghost/email-analytics-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.

Run

  • yarn dev

Test

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

Copyright & License

Copyright (c) 2021 Ghost Foundation - Released under the MIT license.