mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
3259994e4f
refs https://github.com/TryGhost/Toolbox/issues/203 - without `--all`, c8 will ignore files that aren't covered in tests, so they won't pull the test coverage down - this means we have artificially high coverage scores - this commit adds `--all` where previously missing |
||
---|---|---|
.. | ||
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-2022 Ghost Foundation - Released under the MIT license.