@nrwl/cypress:cypress-project
Create Cypress Configuration for the workspace.
Usage
nx generate cypress-project ...
By default, Nx will search for cypress-project
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/cypress:cypress-project ...
Show what will be generated without writing to disk:
nx g cypress-project ... --dry-run
Options
baseUrl
The address (with the port) which your application is running on.
directory
A directory where the project is placed.
js
false
Generate JavaScript files rather than TypeScript files.
linter
eslint
eslint
, tslint
, none
The tool to use for running lint checks.
name
Name of the E2E Project.
project
The name of the frontend project to test.
skipFormat
false
Skip formatting files.
setParserOptionsProject
false
Whether or not to configure the ESLint parserOptions.project
option. We do not do this by default for lint performance reasons.
standaloneConfig
Split the project configuration into <projectRoot>/project.json
rather than including it inside workspace.json.
skipPackageJson
false
Do not add dependencies to package.json
.