adding data and keeping users index updated
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user