Ghost/ghost/errors
2020-03-25 10:24:33 +00:00
..
lib Moved errors,logging,i18n and events to lib/common 2020-03-25 10:24:33 +00:00
test Prepared new errors package 2020-03-25 10:24:33 +00:00
.eslintrc.js Prepared new errors package 2020-03-25 10:24:33 +00:00
index.js Prepared new errors package 2020-03-25 10:24:33 +00:00
LICENSE Prepared new errors package 2020-03-25 10:24:33 +00:00
package.json Prepared new errors package 2020-03-25 10:24:33 +00:00
README.md Prepared new errors package 2020-03-25 10:24:33 +00:00

Errors

Install

npm install @tryghost/errors --save

or

yarn add @tryghost/errors

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) 2020 Ghost Foundation - Released under the MIT license.