{
  "$schema": "http://json-schema.org/schema",
  "id": "storybook-configure",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Library or application name",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "configureCypress": {
      "type": "boolean",
      "description": "Run the cypress-configure schematic.",
      "x-prompt": "Configure a cypress e2e app to run against the storybook instance?"
    },
    "generateStories": {
      "type": "boolean",
      "description": "Automatically generate *.stories.ts files for components declared in this library.",
      "x-prompt": "Automatically generate story files for components declared in this library?"
    },
    "generateCypressSpecs": {
      "type": "boolean",
      "description": "Automatically generate *.spec.ts files in the cypress e2e app generated by the cypress-configure schematic",
      "x-prompt": "Automatically generate *.spec.ts files in the cypress e2e app generated by the cypress-configure schematic?"
    },
    "js": {
      "type": "boolean",
      "description": "Generate JavaScript files rather than TypeScript files.",
      "default": false
    },
    "linter": {
      "description": "The tool to use for running lint checks.",
      "type": "string",
      "enum": ["eslint", "tslint"],
      "default": "eslint"
    }
  },
  "required": ["name"]
}
