mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
bf215be0f8
refs https://github.com/TryGhost/Toolbox/issues/523 - We need to process generic files like .pdf, .md, etc. on the importer "handler" stage. - The media handler can process more than just media files after few refactorings. Renaming it to a generic content file handler indicates it can process any type of content file. - In future we can substitute the built-in "images" import handler with this generic content file handler.
27 lines
810 B
JSON
27 lines
810 B
JSON
{
|
|
"name": "@tryghost/importer-handler-content-files",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/importer-handler-content-files",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
|
"test": "yarn test:unit",
|
|
"lint:code": "eslint *.js lib/ --ext .js --cache",
|
|
"lint": "yarn lint:code && yarn lint:test",
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"devDependencies": {
|
|
"c8": "7.13.0",
|
|
"mocha": "10.2.0",
|
|
"sinon": "15.0.1"
|
|
},
|
|
"dependencies": {}
|
|
}
|