Boilerplate code for developing firebase functions with es6 support and live reload.
- In the
.firebasercfile update, changeprojects.defaultto 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.defaultin.firebasercfile to deploy correctly.