open-index/open-npm huggingface dataset:
npm package: @mallanic/vite-plugin-firebase
Description: <p>   <a href="https://divRIOTS.com">Brought to you by<br/></a>   <a href="https://divRIOTS.com#gh-light-mode-only" target="_blank">         <img width="150" height="40" src="https://divRIOTS.com/divriots.svg#gh-light-mode-only" alt="‹div›RIOTS" />       
Author: maximeallanic
Latest version: 0.4.3


# vite-plugin-firebase [![npm](https://img.shields.io/npm/v/vite-plugin-firebase.svg)](https://www.npmjs.com/package/vite-plugin-firebase)

<p>
  <a href="https://divRIOTS.com">Brought to you by<br/></a>
  <a href="https://divRIOTS.com#gh-light-mode-only" target="_blank">
        <img width="150" height="40" src="https://divRIOTS.com/divriots.svg#gh-light-mode-only" alt="‹div›RIOTS" />
        </a>
        <a href="https://divRIOTS.com#gh-dark-mode-only" target="_blank">
        <img width="150" height="40" src="https://divRIOTS.com/divriots-dark.svg#gh-dark-mode-only" alt="‹div›RIOTS" />
        </a>
</p>

This plugin will start firebase emulators (by default hosting & functions) in-process when running vite dev server (vite serve).

### Installation

```
npm install --save-dev vite-plugin-firebase
```

### Usage

Add it to vite.config.js

```js
import firebasePlugin from 'vite-plugin-firebase';

export default {
  plugins: [firebasePlugin({
    // mandatory firebase project id
    projectId: 'my-project-id',
    // project directory, i.e. where firebase.json is (defaults to `config.root`)
    root: path.resolve('somewhere'),
    // whether to materialize (write on disk) `.runtimeconfig.json` for functions emulator (defaults to `false`)
    materializeConfig: true,
    // emulator targets (defaults to `['hosting', 'functions']`)
    targets: ['hosting'],
    import: './firebase-export',
    exportOnExit: './firebase-export'
  })]
}
```

### Caveats

This plugin uses internal firebase-tools APIs to load emulators in-process.
May break upon firebase-tools releases, have been tested with `9.22` & `9.23`

### License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021-present, [‹div›RIOTS](https://divRIOTS.com)
npm package: @mallchel/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 4.0.1

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @mallfurion/ngx-translate-po-http-loader
Description: Load po files for use with ngx-translate
Author: Florin Tomozei
Latest version: 3.1.4

# Description
Load po files for use with `ngx-translate`

## Installation:

 ```
npm i @ngx-translate/core --save
npm i @fjnr/ngx-translate-po-http-loader --save
 ```

## Usage:
```ts
import { HttpClient, HttpClientModule } from '@angular/common/http';

import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
import { TranslatePoHttpLoader } from '@biesbjerg/ngx-translate-po-http-loader';

export function createTranslateLoader(http: HttpClient) {
	return new TranslatePoHttpLoader(http, 'assets/i18n', '.po');
}

@NgModule({
	imports: [
		BrowserModule,
		HttpClientModule,
		TranslateModule.forRoot({
			loader: {
				provide: TranslateLoader,
				useFactory: createTranslateLoader,
				deps: [HttpClient]
			}
		})
	],
	bootstrap: [AppComponent]
})
export class AppModule { }
```

## Special thanks

This package is a fork of the [initial repository](https://github.com/biesbjerg/ngx-translate-po-http-loader) of [Kim Biesbjerg](https://github.com/biesbjerg). Special thanks to him for his effort in this project.