Last active
September 14, 2023 19:42
-
-
Save ezequieltejada/8b1d235fa03840caae90e8ad26a2eca5 to your computer and use it in GitHub Desktop.
firebase.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const environment = { | |
appName: 'app-name', | |
useEmulators: true, | |
firebase: { | |
projectId: 'demo-project', | |
appId: 'valid-app-id', | |
storageBucket: 'app-name.appspot.com', | |
apiKey: 'valid-api-key', | |
authDomain: 'app-name.firebaseapp.com', | |
messagingSenderId: '1111111', | |
}, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"functions": [ | |
{ | |
"source": "functions", | |
"codebase": "default", | |
"ignore": [ | |
"node_modules", | |
".git", | |
"firebase-debug.log", | |
"firebase-debug.*.log" | |
], | |
"predeploy": [ | |
"npm --prefix \"$RESOURCE_DIR\" run lint", | |
"npm --prefix \"$RESOURCE_DIR\" run build" | |
] | |
} | |
], | |
"hosting": { | |
"public": "public", | |
"ignore": [ | |
"firebase.json", | |
"**/.*", | |
"**/node_modules/**" | |
], | |
"rewrites": [ | |
{ | |
"source": "**", | |
"destination": "/index.html" | |
} | |
] | |
}, | |
"emulators": { | |
"auth": { | |
"port": 9099, | |
"host": "0.0.0.0" | |
}, | |
"firestore": { | |
"port": 8080, | |
"host": "0.0.0.0" | |
}, | |
"functions": { | |
"port": 5001, | |
"host": "0.0.0.0" | |
}, | |
"hosting": { | |
"port": 5000, | |
"host": "0.0.0.0" | |
}, | |
"hub": { | |
"port": 4400, | |
"host": "0.0.0.0" | |
}, | |
"logging": { | |
"port": 4500, | |
"host": "0.0.0.0" | |
}, | |
"eventarc": { | |
"port": 9299, | |
"host": "0.0.0.0" | |
}, | |
"ui": { | |
"enabled": true, | |
"port": 4000, | |
"host": "0.0.0.0" | |
}, | |
"singleProjectMode": true | |
}, | |
"remoteconfig": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment