Ghost/ghost/package-json
Hannah Wolfe f2b1d37cd4 Renamed package-json tests to use .test.js pattern
- all our modules use .test.js instead of the _spec.js pattern we use in Ghost
- updated for consistency
2021-06-09 11:57:52 +01:00
..
lib Changed Error to IncorrectUsageError in package-json 2021-05-06 13:22:59 +01:00
test Renamed package-json tests to use .test.js pattern 2021-06-09 11:57:52 +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 Renamed package-json tests to use .test.js pattern 2021-06-09 11:57:52 +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.