Ghost/ghost/package-json
Daniel Lockyer bd6a295674 Refactored to more efficient fs call for reading packages
- we don't need to do both a `fs.readdir` and a `fs.stat` because
  `fs.readdir` has the `withFileTypes` which returns the directory entry
  info and so this avoids an extra stat syscall
2022-03-28 11:31:45 +01:00
..
lib Refactored to more efficient fs call for reading packages 2022-03-28 11:31:45 +01:00
test Removed class pattern 2021-06-09 14:39:41 +01:00
.eslintrc.js
index.js
LICENSE 2022 2022-01-06 09:52:35 +00:00
package.json Published new versions 2022-03-01 08:40:52 +01:00
README.md 2022 2022-01-06 09:52:35 +00: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-2022 Ghost Foundation - Released under the MIT license.