Ghost/ghost/package-json
Daniel Lockyer a81d90b126 Added c8 coverage to package-json tests
no issue

- this commit adds the c8 dependency to the `package-json`, and prepends
  it to the test alias so we can see the coverage in tests
- note: we're apparently already at 100%!
2021-05-07 12:36:36 +01:00
..
lib Changed Error to IncorrectUsageError in package-json 2021-05-06 13:22:59 +01:00
test Fixed package-json test requires 2021-05-06 15:16:29 +01:00
.eslintrc.js Added initial package-json package 2021-05-06 15:16:29 +01:00
index.js Added export for package-json library contents 2021-05-06 15:16:29 +01:00
LICENSE Added initial package-json package 2021-05-06 15:16:29 +01:00
package.json Added c8 coverage to package-json tests 2021-05-07 12:36:36 +01:00
README.md Added initial package-json package 2021-05-06 15:16:29 +01:00

Package Json

Install

npm install @tryghost/package-json --save

or

yarn add @tryghost/package-json

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.