@nx/js
Version:
47 lines (46 loc) • 1.25 kB
JSON
{
"$schema": "https://json-schema.org/schema",
"version": 2,
"title": "Verdaccio Local Registry",
"description": "Start a local registry with Verdaccio.",
"cli": "nx",
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "Location option for npm config",
"default": "user",
"enum": ["global", "user", "project", "none"]
},
"storage": {
"type": "string",
"description": "Path to the custom storage directory for Verdaccio"
},
"port": {
"type": "number",
"description": "Port of local registry that Verdaccio should listen to"
},
"listenAddress": {
"type": "string",
"description": "Listen address that Verdaccio should listen to",
"default": "localhost"
},
"config": {
"type": "string",
"description": "Path to the custom Verdaccio config file"
},
"clear": {
"type": "boolean",
"description": "Clear local registry storage before starting Verdaccio",
"default": true
},
"scopes": {
"type": "array",
"description": "Scopes to be added to the Verdaccio config",
"items": {
"type": "string"
}
}
},
"required": ["port"]
}