{
  "cli": "nx",
  "title": "Initialize Vite in the workspace.",
  "description": "Initialize Vite in the workspace.",
  "$id": "init-vite-plugin",
  "type": "object",
  "properties": {
    "uiFramework": {
      "type": "string",
      "description": "UI Framework to use for Vite.",
      "enum": ["react", "none"],
      "default": "react",
      "x-prompt": "What UI framework plugin should Vite use?"
    },
    "compiler": {
      "type": "string",
      "description": "Compiler to use for Vite when UI Framework is React.",
      "enum": ["babel", "swc"],
      "default": "babel"
    },
    "includeLib": {
      "type": "boolean",
      "description": "Add dependencies needed to build libraries.",
      "default": false
    },
    "testEnvironment": {
      "description": "The vitest environment to use. See https://vitest.dev/config/#environment.",
      "type": "string",
      "enum": ["node", "jsdom", "happy-dom", "edge-runtime"],
      "default": "jsdom"
    }
  },
  "examplesFile": "../../../docs/init-examples.md"
}
