The long answer about why this is a complicated problem has been discussed in some blogs, for example here and here. EDIT: The firebase CLI now supports projects using TypeScript, which gives you access to ES7 syntax. It will automatically compile that down to ES6 for deployment to Cloud Functions .
Read moreWhat language supports Firebase?
The Firebase SDK supports programming in C++, Java, JavaScript, JavaScript/Node. js, Objective-C, and Swift . Angular, Backbone, Ember and React are supported through bindings to the database.
Read moreHow do I know if firebase is running?
At process. env, on firebase functions projects, there is a boolean variable called FUNCTIONS_EMULATOR, which indicates if the process is running on an emulator or on server . this is enough to determine if environment is dev or production.
Read moreHow does firebase emulator work?
The Firebase Local Emulator Suite allows you to test your code with our core products in an interoperable way. The Cloud Functions emulator supports HTTP functions, callable functions, and background functions triggered by Cloud Firestore, Realtime Database, Cloud Storage, Authentication, and Pub/Sub .
Read moreHow do I deploy a single function to Firebase?
There is currently no way to deploy a single function with the Firebase CLI. Running `firebase deploy` will deploy all functions.
Read moreHow do I deploy a firestore function?
Get started: write, test, and deploy your first functions
Read moreHow do I run Firebase cloud functions locally?
Run functions locally
Read more