f918398779
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 |
||
---|---|---|
.. | ||
test | ||
.eslintrc.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
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.
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-2021 Ghost Foundation - Released under the MIT license.