Boilerplate code for developing firebase functions with es6 support and live reload.
- In the
.firebaserc
file update, changeprojects.default
to the firebase project that you would be using. - Run
firebase use <project-name>
to use a firebase project.
To run any npm
script change the root directory to functions
. Run
npm run build
: To transpile source codenpm run serve
: To serve (and watch) functionsnpm run deploy
: To deploy firebase functions. Make sure to updateprojects.default
in.firebaserc
file to deploy correctly.