mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 18:52:14 +03:00
bddb0ba754
refs https://github.com/TryGhost/Team/issues/1910 refs https://github.com/TryGhost/Team/issues/1888 - Uses an in-memory repository for now whilst in development - Updates the LinkReplacementService to choose the slug - Exposes a `getSlug` method so we can ensure uniqueness - Emits the RedirectEvent for use by LinkTracking
32 lines
883 B
JSON
32 lines
883 B
JSON
{
|
|
"name": "@tryghost/link-redirects",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/link-redirects",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test:unit": "NODE_ENV=testing c8 --all --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": {
|
|
"@types/express": "4.17.14",
|
|
"c8": "7.12.0",
|
|
"mocha": "10.0.0",
|
|
"should": "13.2.3",
|
|
"sinon": "14.0.0"
|
|
},
|
|
"dependencies": {
|
|
"bson-objectid": "2.0.3",
|
|
"@tryghost/domain-events": "0.0.0"
|
|
}
|
|
}
|