2021-12-10 18:10:30 +00:00
|
|
|
{
|
|
|
|
"name": "functions",
|
2022-02-01 21:25:51 +00:00
|
|
|
"version": "1.0.0",
|
2022-04-25 15:46:35 +00:00
|
|
|
"config": {
|
|
|
|
"firestore": "dev-mantic-markets.appspot.com"
|
|
|
|
},
|
2021-12-10 18:10:30 +00:00
|
|
|
"scripts": {
|
|
|
|
"build": "tsc",
|
2021-12-24 21:06:01 +00:00
|
|
|
"watch": "tsc -w",
|
2021-12-19 22:08:25 +00:00
|
|
|
"shell": "yarn build && firebase functions:shell",
|
|
|
|
"start": "yarn shell",
|
2021-12-10 18:10:30 +00:00
|
|
|
"deploy": "firebase deploy --only functions",
|
2022-04-25 15:46:35 +00:00
|
|
|
"logs": "firebase functions:log",
|
|
|
|
"serve": "yarn build && firebase emulators:start --only functions,firestore --import=./firestore_export",
|
|
|
|
"db:update-local-from-remote": "yarn db:backup-remote && gsutil rsync -r gs://$npm_package_config_firestore/firestore_export ./firestore_export",
|
|
|
|
"db:backup-local": "firebase emulators:export --force ./firestore_export",
|
|
|
|
"db:rename-remote-backup-folder": "gsutil mv gs://$npm_package_config_firestore/firestore_export gs://$npm_package_config_firestore/firestore_export_$(date +%d-%m-%Y-%H-%M)",
|
|
|
|
"db:backup-remote": "yarn db:rename-remote-backup-folder && gcloud firestore export gs://$npm_package_config_firestore/firestore_export/"
|
2021-12-10 18:10:30 +00:00
|
|
|
},
|
2022-01-11 19:30:00 +00:00
|
|
|
"main": "lib/functions/src/index.js",
|
2021-12-10 18:10:30 +00:00
|
|
|
"dependencies": {
|
2022-05-12 15:07:10 +00:00
|
|
|
"@react-query-firebase/firestore": "0.4.2",
|
2022-05-17 04:43:40 +00:00
|
|
|
"cors": "2.8.5",
|
2021-12-18 02:12:58 +00:00
|
|
|
"fetch": "1.1.0",
|
2021-12-11 00:06:17 +00:00
|
|
|
"firebase-admin": "10.0.0",
|
2021-12-14 07:02:50 +00:00
|
|
|
"firebase-functions": "3.16.0",
|
2022-01-02 00:08:52 +00:00
|
|
|
"lodash": "4.17.21",
|
2022-01-07 22:56:14 +00:00
|
|
|
"mailgun-js": "0.22.0",
|
2022-05-10 20:59:38 +00:00
|
|
|
"module-alias": "2.2.2",
|
2022-05-22 07:35:43 +00:00
|
|
|
"react-query": "3.39.0",
|
2022-01-07 22:56:14 +00:00
|
|
|
"stripe": "8.194.0"
|
2021-12-10 18:10:30 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-01-02 00:08:52 +00:00
|
|
|
"@types/mailgun-js": "0.22.12",
|
2022-05-22 07:35:43 +00:00
|
|
|
"@types/module-alias": "2.0.1",
|
|
|
|
"firebase-functions-test": "0.3.3"
|
2021-12-10 18:10:30 +00:00
|
|
|
},
|
|
|
|
"private": true
|
|
|
|
}
|