{
  "$schema": "http://json-schema.org/schema",
  "$id": "NxextStorybookConfigure",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Library or application name",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "configureCypress": {
      "type": "boolean",
      "description": "Run the cypress-configure generator",
      "x-prompt": "Configure a cypress e2e app to run against the storybook instance?"
    },
    "cypressDirectory": {
      "type": "string",
      "description": "A directory where the Cypress project will be placed. Added at root by default."
    },
    "linter": {
      "description": "The tool to use for running lint checks.",
      "type": "string",
      "enum": ["eslint", "none"],
      "default": "eslint"
    },
    "standaloneConfig": {
      "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside workspace.json",
      "type": "boolean",
      "default": false
    },
    "interactionTests": {
      "type": "boolean",
      "description": "Set up Storybook interaction tests."
    }
  },
  "required": ["name"]
}
