mirror of
https://github.com/placeholder-soft/storytime.git
synced 2026-04-28 12:34:58 +08:00
63 lines
1.0 KiB
JSON
63 lines
1.0 KiB
JSON
{
|
|
"firestore": {
|
|
"rules": "firestore.rules",
|
|
"indexes": "firestore.indexes.json"
|
|
},
|
|
"functions": [
|
|
{
|
|
"source": "functions",
|
|
"codebase": "default",
|
|
"ignore": [
|
|
"node_modules",
|
|
".git",
|
|
"firebase-debug.log",
|
|
"firebase-debug.*.log"
|
|
],
|
|
"predeploy": [
|
|
"npm --prefix \"$RESOURCE_DIR\" run build"
|
|
]
|
|
}
|
|
],
|
|
"hosting": {
|
|
"predeploy": [
|
|
"cd app; npm run build"
|
|
],
|
|
"public": "app/dist",
|
|
"ignore": [
|
|
"firebase.json",
|
|
"**/.*",
|
|
"**/node_modules/**"
|
|
],
|
|
"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
|
|
},
|
|
"singleProjectMode": true
|
|
}
|
|
}
|