Ghost/ghost/promise
Daniel Lockyer f918398779 Added c8 test coverage to all packages
refs https://github.com/TryGhost/Team/issues/870

- using `c8` allows us to see test coverage for all packages in the repo
- this commit adds `c8` as a dev dependency and prepends the `mocha`
  command with `c8` so it runs on all tests
2021-07-14 11:26:06 +01:00
..
lib Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
test Updated tests filenames and fixed local requires 2020-08-11 18:28:51 +01:00
.eslintrc.js Created @tryghost/promise package 2020-08-11 18:24:26 +01:00
index.js Added index.js file to export lib packages 2020-08-11 18:33:30 +01:00
LICENSE 2021 2021-01-25 16:20:43 +00:00
package.json Added c8 test coverage to all packages 2021-07-14 11:26:06 +01:00
README.md 2021 2021-01-25 16:20:43 +00:00

Promise

Install

npm install @tryghost/promise --save

or

yarn add @tryghost/promise

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) 2013-2021 Ghost Foundation - Released under the MIT license.