09594cb5e1
refs https://github.com/TryGhost/Toolbox/issues/292 - The version mismatch middleware middleware is the best place where the information can be assembled for the APIVersionCompatibilityService to handle. We need API key identification information to be able to pick up the integration name when sending a notification email to the administrators
32 lines
878 B
JSON
32 lines
878 B
JSON
{
|
|
"name": "@tryghost/mw-api-version-mismatch",
|
|
"version": "0.1.4",
|
|
"repository": "https://github.com/TryGhost/Utils/tree/main/packages/mw-api-version-mismatch",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
|
"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",
|
|
"posttest": "yarn lint"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"c8": "7.11.2",
|
|
"mocha": "10.0.0",
|
|
"sinon": "14.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/extract-api-key": "^0.1.0"
|
|
}
|
|
}
|