reader/backend/firebase.json

43 lines
764 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
},
"firestore": {
"port": 9098
},
"storage": {
"port": 9097
}
}
}