@nx/storybook:cypress-project
Add cypress E2E app to test a ui library that is set up for Storybook.
Add cypress E2E app to test a ui library that is set up for Storybook.
1nx generate cypress-project ...
2
By default, Nx will search for cypress-project
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/storybook:cypress-project ...
2
Show what will be generated without writing to disk:
1nx g cypress-project ... --dry-run
2
Project for which to generate the cypress E2E app.
A directory where the project is placed.
false
Generate JavaScript files rather than TypeScript files.
eslint
eslint
, none
The tool to use for running lint checks.
The name of the devServerTarget to use for the Cypress CI configuration. Used to control if using <storybook-project>:static-storybook:ci or <storybook-project>:storybook:ci
false
Skip formatting files.
true
Split the project configuration into <projectRoot>/project.json
rather than including it inside workspace.json
.
Nx only supports standaloneConfig