Ghost/ghost/bootstrap-socket
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 Refactored bootstrap-socket API for testability 2020-08-09 17:15:46 +01:00
test Refactored bootstrap-socket API for testability 2020-08-09 17:15:46 +01:00
.eslintrc.js Added new bootstrap-socket package with a test 2020-08-07 16:59:25 +01:00
index.js Refactored bootstrap-socket API for testability 2020-08-09 17:15:46 +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

Bootstrap Socket

Install

npm install @tryghost/bootstrap-socket --save

or

yarn add @tryghost/bootstrap-socket

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.