singsalot/firebase.json

46 lines
752 B
JSON

{
"functions": {
"source": "functions",
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run build"
]
},
"database": {
"rules": "database.rules.json"
},
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
"targets": {
"webapp": {
"hosting": {
"sings-a-lot": [
"sings-a-lot"
]
}
},
"sings-a-lot-database": {
"functions": {
"functions": [
"firebase-herse"
]
},
"database": {
"rules": [
"firebase-herse"
]
}
}
}
}