58 lines
954 B
JSON
58 lines
954 B
JSON
{
|
|
"functions": {
|
|
"source": "functions",
|
|
"ignore": [
|
|
"node_modules",
|
|
".git",
|
|
"firebase-debug.log",
|
|
"firebase-debug.*.log",
|
|
"**/_private_stuff/**"
|
|
],
|
|
"predeploy": [
|
|
"npm --prefix \"$RESOURCE_DIR\" run lint"
|
|
]
|
|
},
|
|
"firestore": {
|
|
"rules": "firestore.rules",
|
|
"indexes": "firestore.indexes.json"
|
|
},
|
|
"hosting": {
|
|
"public": "build",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"**/.*",
|
|
"**/node_modules/**",
|
|
"**/_private_stuff/**"
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "**",
|
|
"destination": "/index.html"
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"rules": "storage.rules"
|
|
},
|
|
"emulators": {
|
|
"auth": {
|
|
"port": 9099
|
|
},
|
|
"functions": {
|
|
"port": 5001
|
|
},
|
|
"firestore": {
|
|
"port": 8080
|
|
},
|
|
"hosting": {
|
|
"port": 5000
|
|
},
|
|
"storage": {
|
|
"port": 9199
|
|
},
|
|
"ui": {
|
|
"enabled": true
|
|
}
|
|
}
|
|
}
|