@nxextensions/firebase-cypress
v4.10.0
Published
An NX Plugin for Firebase Applications that would like to use emulators for E2E testing with Cypress
Downloads
45
Maintainers
Readme
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:
{
"...": "...",
"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