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
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