Ghost/core/server/lib/package-json.js
Daniel Lockyer b1499d4037 Extracted package-json lib to Utils
refs 37ebe723c6

- `package-json` was a standalone library using dependency injection so
  we could pull it out into its own package in Utils
- this was done in the commit referenced above
- this commit removes the implementation and tests in Ghost and replaces
  the require in the initialization wrapper with the new package
2021-05-07 12:35:06 +01:00

5 lines
141 B
JavaScript

const PackageJson = require('@tryghost/package-json');
const i18n = require('../../shared/i18n');
module.exports = new PackageJson({i18n});