mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
6e862b42e7
refs https://github.com/TryGhost/Team/issues/2078 This adds handling to the Tier events to create Stripe Products & Prices when Tiers are created and have their pricing changed. We also update the Stripe Product names when the Tier name is edited. We also add a method to generate a payment URL which will replace our current implementation of creating a Stripe Checkout Session
31 lines
729 B
JSON
31 lines
729 B
JSON
{
|
|
"name": "@tryghost/members-payments",
|
|
"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 './test/**/*.test.js'",
|
|
"test": "yarn test:unit",
|
|
"lint": "eslint . --ext .js --cache"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"devDependencies": {
|
|
"c8": "7.12.0",
|
|
"mocha": "10.1.0",
|
|
"should": "13.2.3",
|
|
"sinon": "14.0.1"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/domain-events": "0.0.0",
|
|
"@tryghost/errors": "1.2.18",
|
|
"@tryghost/members-offers": "0.0.0",
|
|
"@tryghost/tiers": "0.0.0"
|
|
}
|
|
}
|