vxh.viet
2/13/2019 - 8:45 AM

Firebase CLI Command

Firebase CLI Command

SOURCE

yarn run lint : lint check for error

firebase list

firebase deploy : deploy everything

firebase deploy —only functions

firebase deploy —only hosting

firebase serve: local testing

firebase serve —only functions,hosting

Update Firebase Cloud Functions:

Periodically run these commands inside the functions folder of your Firebase project:

yarn add firebase-functions@latest firebase-admin@latest
yarn global add firebase-tools