{
  "$schema": "http://json-schema.org/schema",
  "title": "ng-packagr Target",
  "description": "ng-packagr target options for Build Architect. Use to build library projects.",
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "The file path for the ng-packagr configuration file, relative to the current workspace."
    },
    "tsConfig": {
      "type": "string",
      "description": "The full path for the TypeScript configuration file, relative to the current workspace."
    },
    "watch": {
      "type": "boolean",
      "description": "Run build when files change.",
      "default": false
    },
    "updateBuildableProjectDepsInPackageJson": {
      "type": "boolean",
      "description": "Update buildable project dependencies in package.json",
      "default": true
    },
    "buildableProjectDepsInPackageJsonType": {
      "type": "string",
      "description": "When updateBuildableProjectDepsInPackageJson is true, this adds dependencies to either `peerDependencies` or `dependencies`",
      "enum": ["dependencies", "peerDependencies"],
      "default": "peerDependencies"
    }
  },
  "additionalProperties": false,
  "required": ["project"]
}
