{"id":20054376,"url":"https://github.com/divriots/vite-plugin-firebase","last_synced_at":"2025-05-05T13:31:21.199Z","repository":{"id":42131594,"uuid":"429375996","full_name":"divriots/vite-plugin-firebase","owner":"divriots","description":"Vite plugin for firebase.","archived":false,"fork":false,"pushed_at":"2024-07-31T17:17:13.000Z","size":613,"stargazers_count":21,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T07:45:58.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divriots.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","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":"2021-11-18T09:51:46.000Z","updated_at":"2025-04-29T18:50:38.000Z","dependencies_parsed_at":"2024-11-13T12:40:22.962Z","dependency_job_id":"1b1300dc-dbf6-40cc-9104-ae8060224c97","html_url":"https://github.com/divriots/vite-plugin-firebase","commit_stats":null,"previous_names":["gluck/vite-plugin-firebase"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Fvite-plugin-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Fvite-plugin-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Fvite-plugin-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divriots%2Fvite-plugin-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divriots","download_url":"https://codeload.github.com/divriots/vite-plugin-firebase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252506406,"owners_count":21759041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-13T12:40:13.936Z","updated_at":"2025-05-05T13:31:20.906Z","avatar_url":"https://github.com/divriots.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\n# vite-plugin-firebase [![npm](https://img.shields.io/npm/v/vite-plugin-firebase.svg)](https://www.npmjs.com/package/vite-plugin-firebase)\n\n\u003cp\u003e\n  \u003ca href=\"https://divRIOTS.com\"\u003eBrought to you by\u003cbr/\u003e\u003c/a\u003e\n  \u003ca href=\"https://divRIOTS.com#gh-light-mode-only\" target=\"_blank\"\u003e\n        \u003cimg width=\"150\" height=\"40\" src=\"https://divRIOTS.com/divriots.svg#gh-light-mode-only\" alt=\"‹div›RIOTS\" /\u003e\n        \u003c/a\u003e\n        \u003ca href=\"https://divRIOTS.com#gh-dark-mode-only\" target=\"_blank\"\u003e\n        \u003cimg width=\"150\" height=\"40\" src=\"https://divRIOTS.com/divriots-dark.svg#gh-dark-mode-only\" alt=\"‹div›RIOTS\" /\u003e\n        \u003c/a\u003e\n\u003c/p\u003e\n\nThis plugin will start firebase emulators (by default hosting \u0026 functions) in-process when running vite dev server (vite serve).\n\n### Installation\n\n```\nnpm install --save-dev vite-plugin-firebase\n```\n\n### Usage\n\nAdd it to vite.config.js\n\n```js\nimport firebasePlugin from 'vite-plugin-firebase';\n\nexport default {\n  plugins: [firebasePlugin({\n    // mandatory firebase project id\n    projectId: 'my-project-id',\n    // project directory, i.e. where firebase.json is (defaults to `config.root`)\n    root: path.resolve('somewhere'),\n    // whether to materialize (write on disk) `.runtimeconfig.json` for functions emulator (defaults to `false`)\n    materializeConfig: true,\n    // emulator targets (defaults to `['hosting', 'functions']`)\n    targets: ['hosting']\n  })]\n}\n```\n\n### Caveats\n\nThis plugin uses internal firebase-tools APIs to load emulators in-process.\nMay break upon firebase-tools releases, have been tested with `9.22` \u0026 `9.23`\n\n### License\n\n[MIT](https://opensource.org/licenses/MIT)\n\nCopyright (c) 2021-present, [‹div›RIOTS](https://divRIOTS.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivriots%2Fvite-plugin-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivriots%2Fvite-plugin-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivriots%2Fvite-plugin-firebase/lists"}