Ghost/ghost/admin/lib/koenig-editor/package.json
Gabriel Csapo ddfeb90fc6 Updated ember-auto-import@1 -> ember-auto-import@2 (#2252)
requires https://github.com/TryGhost/Ghost/pull/15128
refs https://github.com/TryGhost/Admin/pull/2252

- bumped `ember-auto-import` dependency
  - updated `autoImport` config to match new format
  - added dependencies for node packages that no longer have built-in polyfills in webpack@5
- updated `asset-delivery` to work with `ember-auto-import@2`
  - reverted to standard ember `index.html` to let `ember-auto-import` handle it's insertion of multiple JS chunk files
  - updated the `asset-delivery` addon to copy the the `index.html` and `/assets` to `core/built/admin/{development|production}/` directory rather than splitting the `index.html` file apart from the assets inside Ghost's directory structure
- switched to relative root URL in development/production
  - required because assets are served from the same directory the index file is served from in Ghost rather than from the root
  - Admin uses `/#/` URLs so it can be served from any subdirectory without requiring prior knowledge of that directory at build time

Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
2022-08-02 13:43:28 +01:00

24 lines
633 B
JSON

{
"name": "koenig-editor",
"version": "0.0.1",
"description": "A mobiledoc-kit based editor for Ghost.",
"author": "Ghost Foundation",
"homepage": "http://ghost.org",
"bugs": "https://github.com/TryGhost/Ghost/issues",
"license": "MIT",
"private": true,
"keywords": [
"ember-addon"
],
"dependencies": {
"@joeattardi/emoji-button": "^4.6.0",
"@tryghost/helpers": "^1.1.1",
"@tryghost/kg-clean-basic-html": "*",
"@tryghost/kg-parser-plugins": "*",
"ember-auto-import": "^2.4.2",
"ember-classic-decorator": "*",
"ember-cli-babel": "^7.5.0",
"ember-cli-htmlbars": "^6.1.0"
}
}