Ghost/ghost/security
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 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
index.js
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

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