{
  "version": 2,
  "outputCapture": "direct-nodejs",
  "$schema": "http://json-schema.org/schema",
  "title": "Deploy executor",
  "description": "Publish your libraries to NPM with just one command",
  "type": "object",
  "properties": {
    "distFolderPath": {
      "type": "string",
      "description": "The dist folder path. The path should be relative to the project's root"
    },
    "packageVersion": {
      "type": "string",
      "description": "The version that your package is going to be published. Ex: '1.3.5' '2.0.0-next.0'"
    },
    "tag": {
      "type": "string",
      "description": "Registers the published package with the given tag, such that `npm install @` will install this version. By default, `npm publish` updates and `npm install` installs the `latest` tag. See `npm-dist-tag` for details about tags."
    },
    "access": {
      "type": "string",
      "description": "Tells the registry whether this package should be published as public or restricted. Only applies to scoped packages, which default to restricted. If you don't have a paid account, you must publish with --access public to publish scoped packages.",
      "enum": ["public", "restricted"],
      "default": "public"
    },
    "otp": {
      "type": ["string", "number"],
      "description": "If you have two-factor authentication enabled in auth-and-writes mode then you can provide a code from your authenticator with this. If you don't include this and you're running from a TTY then you'll be prompted."
    },
    "registry": {
      "type": "string",
      "description": "Configure npm to use any compatible registry you like, and even run your own registry."
    },
    "dryRun": {
      "type": "boolean",
      "description": "For testing: Run through without making any changes. Execute with --dry-run and nothing will happen.",
      "default": false
    },
    "checkExisting": {
      "type": "string",
      "description": "How to handle existing package versions: 'warning' to continue with a warning, 'error' to abort publishing",
      "enum": ["warning", "error"]
    }
  },
  "required": ["distFolderPath"]
}
