UNPKG

@nxextensions/firebase-cypress

Version:

An NX Plugin for Firebase Applications that would like to use emulators for E2E testing with Cypress

44 lines (30 loc) 965 B
[![NPM License](https://img.shields.io/npm/l/%40nxextensions%2Ffirebase-cypress)]() [![NPM Version](https://img.shields.io/npm/v/%40nxextensions%2Ffirebase-cypress)]() # Firebase Cypress A plugin for Nx that auto-detects Firebase in your project and starts the emulators if they are configured. ## Installation `npm i @nxextensions/firebase-cypress --save-dev` or run: `nx add @nxextensions/firebase-cypress` to automatically configure and install the plugin. ## Configuration In `nx.json` add: ```json { "...": "...", "plugins": [ { "plugin": "@nxextensions/firebase-cypress", "options": { "targetName": "e2e", "openTargetName": "open-cypress", "componentTestingTargetName": "component-test", "ciTargetName": "e2e-ci" } } ] } ``` ## Dependencies Firebase Cypress depends on the following package(s) to run properly: `@nxextensions/nx-firebase`