@ethronjs/plugin.verdaccio
v0.1.1
Published
Ethron.js plugin for Verdaccio.
Downloads
2
Readme
@ethronjs/plugin.verdaccio
Ethron.js plugin for Verdaccio.
Developed in Dogma, compiled to JavaScript.
Engineered in Valencia, Spain, EU by EthronLabs.
Use
const verdaccio = require("@ethronjs/plugin.verdaccio")
verdaccio.run()
This task runs a Verdaccio Docker container:
verdaccio.run({image, container, volumes, publish})
sudo
(bool), usesudo
. Default:true
.image
(string). Image to use. Default:verdaccio/verdaccio
.container
(string). Container name. Default:verdaccio
.publish
(string or number). Publish the port 4873 in the given port. Default:4873
.home
(string). Local Verdaccio home. Default:~/.verdaccio
. This directory must contain:conf/verdaccio.yaml
,storage/
andplugins/
.rm
(bool). Remove container when stopped?
verdaccio.start()
This task starts the Verdaccio Docker container:
verdaccio.start({container})
sudo
(bool), usesudo
. Default:true
.container
(string). Container name. Default:verdaccio
.
verdaccio.stop()
This task stops the Verdaccio Docker container:
verdaccio.stop({container})
sudo
(bool), usesudo
. Default:true
.container
(string). Container name. Default:verdaccio
.