Ghost/ghost/package-json
Daniel Lockyer 81f566b44a Added codecov.io coverage uploader to CI
refs linear.app/tryghost/issue/CORE-74/improve-the-test-situation

- this commit adds the codecov GitHub Action into CI so we can upload
  coverage reports
- the coverage files need to be in XML for them to work with
  codecov, so this commit also adds cobertura (XML) as a reporter
2021-10-20 11:56:20 +02:00
..
lib Improved typing in package-json 2021-06-09 15:44:04 +01:00
test Removed class pattern 2021-06-09 14:39:41 +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 codecov.io coverage uploader to CI 2021-10-20 11:56:20 +02: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.