Add emulators config

This commit is contained in:
gamebrary 2024-04-19 16:42:32 -07:00
parent e162606f7c
commit 47a600b19e

View file

@ -1,26 +1,47 @@
{ {
"database": { "database": {
"rules": "firebase/database.rules.json" "rules": "firebase/database.rules.json"
},
"firestore": {
"rules": "firebase/firestore.rules",
"indexes": "firebase/firestore.indexes.json"
},
"hosting": {
"public": "dist",
"ignore": [
"firebase/firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
"storage": {
"rules": "firebase/storage.rules"
},
"emulators": {
"functions": {
"port": 5001
}, },
"firestore": { "firestore": {
"rules": "firebase/firestore.rules", "port": 8080
"indexes": "firebase/firestore.indexes.json" },
"database": {
"port": 9000
}, },
"hosting": { "hosting": {
"public": "dist", "port": 5000
"ignore": [
"firebase/firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}, },
"storage": { "storage": {
"rules": "firebase/storage.rules" "port": 9199
} },
"ui": {
"enabled": true
},
"singleProjectMode": true
}
} }