Ghost/ghost/security
Daniel Lockyer 3259994e4f Added --all flag to c8 commands
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
2022-02-21 12:50:26 +01:00
..
lib Extended resetToken.compare return result with reason for comparison failure 2020-09-22 15:31:15 +12:00
test Corrected "declared in uppper scope" linting errors 2020-09-22 15:33:30 +12:00
.eslintrc.js Created @tryghost/security package 2020-08-11 13:29:32 +01:00
index.js Populated index.js with exports to package components 2020-08-11 13:38:44 +01:00
LICENSE 2022 2022-01-06 09:52:35 +00:00
package.json Added --all flag to c8 commands 2022-02-21 12:50:26 +01:00
README.md 2022 2022-01-06 09:52:35 +00:00

Security

Install

npm install @tryghost/security --save

or

yarn add @tryghost/security

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