-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase.json
More file actions
37 lines (37 loc) · 786 Bytes
/
firebase.json
File metadata and controls
37 lines (37 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"functions": {
"source": "backend/functions",
"runtime": "nodejs22",
"predeploy": ["npm --prefix \"$RESOURCE_DIR\" run build"]
},
"firestore": {
"rules": "backend/firestore.rules",
"indexes": "backend/firestore.indexes.json"
},
"storage": {
"rules": "backend/storage.rules"
},
"hosting": {
"public": "web/public",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{ "source": "/privacy", "destination": "/privacy.html" },
{ "source": "**", "destination": "/index.html" }
]
},
"emulators": {
"functions": {
"port": 5001
},
"firestore": {
"port": 8080
},
"hosting": {
"port": 5000
},
"ui": {
"enabled": true,
"port": 4000
}
}
}