reader/backend/firebase.json

44 lines
784 B
JSON
Raw Normal View History

2024-04-10 19:32:07 +08:00
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
"src",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
],
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run build:clean",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
}
],
"storage": {
"rules": "storage.rules"
},
"emulators": {
"ui": {
"enabled": true
},
"singleProjectMode": true,
"functions": {
"port": 5001
},
"auth": {
"port": 9099
},
"firestore": {
"port": 9098
},
"storage": {
"port": 9097
}
}
}