Ghost/ghost/express-dynamic-redirects
Naz 77e2d550c8 Extracted duplicate declarations from test suite
refs https://github.com/TryGhost/Toolbox/issues/139

- As few more tests have been added a clearer pattern of reusable variable has emerged. Have extracted common bits into "beforeEach" block to keep the declarative part of the test to the minimum
2021-11-29 16:23:52 +04:00
..
lib Made options parameter optional 2021-11-29 16:08:03 +04:00
test Extracted duplicate declarations from test suite 2021-11-29 16:23:52 +04:00
.eslintrc.js Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
index.js Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
LICENSE Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
package.json Published new versions 2021-10-21 15:44:21 +02:00
README.md Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00

Express Dynamic Redirects

Install

npm install @tryghost/express-dynamic-redirects --save

or

yarn add @tryghost/express-dynamic-redirects

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests