Ghost/ghost/mw-api-version-mismatch/package.json
Naz 09594cb5e1 Updated version mismatch middleware to handle API keys
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
2022-05-10 16:44:18 +08:00

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"
}
}