{
  "$schema": "http://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.",
  "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"
    },
    "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", "tslint", "none"],
      "default": "eslint"
    },
    "standaloneConfig": {
      "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
      "type": "boolean"
    }
  },
  "required": ["name"]
}
