Feature/setup subscription with stripe (#178)

* Set up stripe for subscriptions

* Update permissions and add discount

* Update changelog
This commit is contained in:
Thomas
2021-06-21 20:03:36 +02:00
committed by GitHub
parent 373a2015c0
commit ad00cd9d81
30 changed files with 453 additions and 81 deletions

View File

@ -13,7 +13,7 @@
"affected:lint": "nx affected:lint",
"affected:test": "nx affected:test",
"angular": "node --max_old_space_size=32768 ./node_modules/@angular/cli/bin/ng",
"build:all": "ng build --prod api && ng build --prod client && yarn replace-placeholders-in-build",
"build:all": "ng build --configuration production api && ng build --configuration production client && yarn replace-placeholders-in-build",
"clean": "rimraf dist",
"database:format-schema": "prisma format",
"database:generate-typings": "prisma generate",
@ -69,6 +69,7 @@
"@simplewebauthn/browser": "3.0.0",
"@simplewebauthn/server": "3.0.0",
"@simplewebauthn/typescript-types": "3.0.0",
"@stripe/stripe-js": "1.15.0",
"@types/lodash": "4.14.168",
"alphavantage": "2.2.0",
"angular-material-css-vars": "1.2.0",
@ -92,6 +93,7 @@
"ngx-device-detector": "2.1.1",
"ngx-markdown": "12.0.1",
"ngx-skeleton-loader": "2.9.1",
"ngx-stripe": "12.0.2",
"passport": "0.4.1",
"passport-google-oauth20": "2.0.0",
"passport-jwt": "4.0.0",
@ -99,6 +101,7 @@
"reflect-metadata": "0.1.13",
"round-to": "5.0.0",
"rxjs": "6.6.7",
"stripe": "8.156.0",
"svgmap": "2.1.1",
"uuid": "8.3.2",
"yahoo-finance": "0.3.6",
@ -129,6 +132,7 @@
"@typescript-eslint/parser": "4.27.0",
"codelyzer": "6.0.1",
"cypress": "6.2.1",
"dotenv": "8.2.0",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.23.4",