{
  "name": "npm-package",
  "factory": "./src/generators/npm-package/npm-package#npmPackageGeneratorInternal",
  "schema": {
    "$schema": "https://json-schema.org/schema",
    "$id": "NxWorkspaceNpmPackage",
    "title": "Add a minimal npm package",
    "description": "Add a minimal npm package.",
    "cli": "nx",
    "type": "object",
    "properties": {
      "name": {
        "type": "string",
        "description": "Package name.",
        "$default": { "$source": "argv", "index": 0 },
        "x-prompt": "What name of your npm package?",
        "pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$"
      },
      "directory": {
        "type": "string",
        "description": "A directory where the package is placed.",
        "alias": "dir"
      },
      "projectNameAndRootFormat": {
        "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).",
        "type": "string",
        "enum": ["as-provided", "derived"]
      }
    },
    "required": ["name"],
    "presets": []
  },
  "description": "Create a minimal NPM package.",
  "x-type": "library",
  "implementation": "/packages/workspace/src/generators/npm-package/npm-package#npmPackageGeneratorInternal.ts",
  "aliases": [],
  "hidden": false,
  "path": "/packages/workspace/src/generators/npm-package/schema.json",
  "type": "generator"
}
