Ghost/ghost/members-api/package.json
Simon Backx 076e3c02b2
Added linking between member and subscription created events (#15693)
fixes https://github.com/TryGhost/Team/issues/2160

- Adds a `batch_id` to both events that contain the same ID if they were created at the same time.
- Removes duplicate signup/conversion events using the batch_id
- Requires an update in mongo-knex to work (refs https://ghost.slack.com/archives/C02G9E68C/p1666773313272409?thread_ts=1666767872.375009&cid=C02G9E68C)
- Some dependencies needed an update to load the latest mongo-knex
- Added tiers to membersUtils, loaded on startup (we can start to use this instead of fetching it every time)
2022-10-27 11:44:19 +02:00

52 lines
1.4 KiB
JSON

{
"name": "@tryghost/members-api",
"version": "0.0.0",
"private": true,
"author": "Ghost Foundation",
"license": "MIT",
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit",
"lint": "eslint . --ext .js --cache"
},
"files": [
"index.js",
"MembersAPI.js",
"lib",
"gateway"
],
"devDependencies": {
"@tryghost/member-attribution": "0.0.0",
"@types/node-jose": "1.1.10",
"c8": "7.12.0",
"jwk-to-pem": "2.0.5",
"mocha": "10.1.0",
"nock": "13.2.9",
"should": "13.2.3",
"sinon": "14.0.1"
},
"dependencies": {
"@tryghost/domain-events": "0.0.0",
"@tryghost/errors": "1.2.18",
"@tryghost/logging": "2.3.2",
"@tryghost/magic-link": "0.0.0",
"@tryghost/member-analytics-service": "0.0.0",
"@tryghost/member-events": "0.0.0",
"@tryghost/members-analytics-ingress": "0.0.0",
"@tryghost/members-payments": "0.0.0",
"@tryghost/nql": "0.11.0",
"@tryghost/tpl": "0.1.19",
"@types/jsonwebtoken": "8.5.9",
"body-parser": "1.20.1",
"bson-objectid": "2.0.3",
"express": "4.18.2",
"got": "9.6.0",
"jsonwebtoken": "8.5.1",
"lodash": "4.17.21",
"moment": "2.29.4",
"node-jose": "2.1.1"
}
}