@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
Markdown
[]()
[]()
# 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`