Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Latest commit

 

History

History
46 lines (32 loc) · 1.47 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.47 KB

DEPRECATION NOTICE

The functionality provided by this tool is now available in the firebase-tools CLI. Go there instead!

⛅️ CloudFunc

a TypeScript starter function for Firebase/Google Compute Platform.

Build Status tested with jest

Why?

I found that getting started with a TS function in GCF was more difficult than it should be. I was able to piece together a working example based on the official repo and a couple blog posts. This ia an attempt at a better kit that I can reach for anytime I want to quickly get started on a new function.

Features:

  • No global dependencies needed. Just run yarn install in the functions directory and you're ready.
  • CI tests against a real-life deployed instance ensure the starter kit currently works

Commands:

From the functions directory:

Compile once:

$ yarn build

Hot reload:

$ yarn watch

Run tests:

$ yarn test

Deploy to GCF:

$ yarn deploy

donation

© 2017 Damien Stanton

See LICENSE for details.