{"id":15635489,"url":"https://github.com/passy/firebase-functions-webpack-example","last_synced_at":"2026-03-05T02:03:18.656Z","repository":{"id":66088472,"uuid":"115753958","full_name":"passy/firebase-functions-webpack-example","owner":"passy","description":"Firebase Cloud Functions + TypeScript + PureScript + Webpack","archived":false,"fork":false,"pushed_at":"2018-01-14T14:16:34.000Z","size":211,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T05:03:45.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/passy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-29T21:05:37.000Z","updated_at":"2022-02-06T15:24:38.000Z","dependencies_parsed_at":"2023-02-22T06:00:40.915Z","dependency_job_id":null,"html_url":"https://github.com/passy/firebase-functions-webpack-example","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"c4ffb082ce35cbc3b782ce1ffcac36a07a4e4206"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/passy/firebase-functions-webpack-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Ffirebase-functions-webpack-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Ffirebase-functions-webpack-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Ffirebase-functions-webpack-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Ffirebase-functions-webpack-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/passy","download_url":"https://codeload.github.com/passy/firebase-functions-webpack-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Ffirebase-functions-webpack-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30106155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:39:18.192Z","status":"online","status_checked_at":"2026-03-05T02:00:06.710Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T11:00:47.789Z","updated_at":"2026-03-05T02:03:18.612Z","avatar_url":"https://github.com/passy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase Cloud Functions + TypeScript + PureScript + Webpack\n[![Build Status](https://travis-ci.org/passy/firebase-functions-webpack-example.svg?branch=master)](https://travis-ci.org/passy/firebase-functions-webpack-example)\n\nA sample configuration showing how to use PureScript in Firebase Cloud\nFunctions, called from TypeScript. Why would you do that? Well, there are a lot\nof libraries for using other Firebase stuff that you can easily throw together,\nbut I'd still like to write some parts in PureScript. Parsers, for instance, are\na red line for me.\n\n## How to use this\n\nYou'll first need to hook this up to a Firebase account. This happens through\nthe [Firebase CLI](https://firebase.google.com/docs/cli/) which you need to\ninstall first.\n\n```\nfirebase login\nfirebase use --add\n```\n\nNow download half the internet to for all the node dependencies and then a\nsomewhat smaller amount for the PureScript deps via `psc-package`.\n\n```\ncd functions\nyarn\npsc-package build\n```\n\nThat should be enough to deploy this.\n\n```\nfirebase deploy --only functions\n```\n\nThis should give you a URL you can curl to check if everything worked out:\n\n```\n$ curl -v https://us-central1-carbon-intensity.cloudfunctions.net/helloWorld\nHello from Purescript!\n```\n\n## How to develop this\n\nWebpack is configured and can be used from within `functions/`:\n\n```\nyarn\nyarn run webpack -w\nyarn test\n```\n\n## License\n\nBSD-3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassy%2Ffirebase-functions-webpack-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassy%2Ffirebase-functions-webpack-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassy%2Ffirebase-functions-webpack-example/lists"}