reader/backend/firebase.json

46 lines
804 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",
2024-04-19 09:30:19 +08:00
"*.log",
"*.local",
".secret.*",
".firebase-emu"
2024-04-10 19:32:07 +08:00
],
"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
}
}
}