8c92f5744c
refs https://github.com/TryGhost/Team/issues/1091 The Offers feature needs to be able to add and remove redirects to Ghost - which is very similar to the custom redirects functionality. Here we've pulled out the core of the dynamic redirect part of custom redirects so that it can be used by both features and have code shared between them.
32 lines
739 B
JSON
32 lines
739 B
JSON
{
|
|
"name": "@tryghost/express-dynamic-redirects",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Members/tree/main/packages/express-dynamic-redirects",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test": "NODE_ENV=testing c8 --check-coverage mocha './test/**/*.test.js'",
|
|
"lint": "eslint . --ext .js --cache",
|
|
"posttest": "yarn lint"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"c8": "7.9.0",
|
|
"mocha": "9.1.2",
|
|
"should": "13.2.3",
|
|
"sinon": "11.1.2"
|
|
},
|
|
"dependencies": {},
|
|
"peerDependencies": {
|
|
"express": "^4.17.1"
|
|
}
|
|
}
|