adding data and keeping users index updated

This commit is contained in:
Arjun Patel
2022-02-01 12:52:34 -08:00
parent f20eaea04e
commit c86d8566ac
6 changed files with 189 additions and 5 deletions
+7 -4
View File
@@ -4,21 +4,24 @@
"scripts": {
"lint": "eslint --ext .js,.ts .",
"build": "npm run lint && tsc",
"serve": "npm run build && firebase emulators:start --only functions",
"serve": "npm run build && firebase functions:config:get > .runtimeconfig.json && firebase emulators:start --only functions",
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log",
"hotReload": "tsc --watch",
"copyModels": "cp -r ../../web/models ./models"
"copyModels": "cp -r ../../web/models ./models",
"env": "test -f env.json && firebase functions:config:unset env && firebase functions:config:set env=\"$(cat env.json)\" || echo \"Please add the file env.json before deploy.\""
},
"main": "lib/index.js",
"dependencies": {
"@nirvana/common": "*",
"@sendgrid/mail": "^7.6.0",
"@types/algoliasearch": "^4.0.0",
"agora-access-token": "^2.0.4",
"algoliasearch": "^4.12.1",
"firebase-admin": "^9.8.0",
"firebase-functions": "^3.14.1",
"@nirvana/common": "*"
"firebase-functions": "^3.14.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^3.9.1",