{
  "$schema": "https://json-schema.org/schema",
  "cli": "nx",
  "$id": "cypress-configure",
  "title": "Cypress Configuration",
  "description": "Add cypress E2E app to test a ui library that is set up for Storybook.",
  "x-deprecated": "Use 'interactionTests' instead when running '@nx/storybook:configuration'. This generator will be removed in v21.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "aliases": ["project", "projectName"],
      "description": "Project for which to generate the cypress E2E app.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "For which project do you want to generate the Cypress E2E app?",
      "x-dropdown": "projects",
      "x-priority": "important"
    },
    "js": {
      "type": "boolean",
      "description": "Generate JavaScript files rather than TypeScript files.",
      "default": false
    },
    "directory": {
      "type": "string",
      "description": "A directory where the project is placed."
    },
    "linter": {
      "description": "The tool to use for running lint checks.",
      "type": "string",
      "enum": ["eslint", "none"],
      "default": "eslint"
    },
    "ciTargetName": {
      "type": "string",
      "description": "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",
      "x-priority": "internal"
    },
    "skipFormat": {
      "description": "Skip formatting files.",
      "type": "boolean",
      "default": false,
      "x-priority": "internal"
    }
  },
  "required": ["name"]
}
