Ghost/ghost/constants
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
..
test Created @tryghost/constants package 2020-08-11 12:24:16 +01:00
.eslintrc.js Created @tryghost/constants package 2020-08-11 12:24:16 +01:00
index.js Created @tryghost/constants package 2020-08-11 12:24:16 +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

Constants

Install

npm install @tryghost/constants --save

or

yarn add @tryghost/constants

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.