@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 ...
2By 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 ...
2Show what will be generated without writing to disk:
1nx g cypress-project ... --dry-run
2Project for which to generate the cypress E2E app.
A directory where the project is placed.
falseGenerate JavaScript files rather than TypeScript files.
eslinteslint, noneThe 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
falseSkip formatting files.
trueSplit the project configuration into <projectRoot>/project.json rather than including it inside workspace.json.
Nx only supports standaloneConfig