diff --git a/README.md b/README.md index 15eb6ab58b..eacc9b7b74 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,31 @@ All the components are stored in our private repository, the address is http://52.16.120.219:4873/. The repository is visible only from the Alfresco VPN. -How to configure it: +##### How to configure it: ```sh npm set registry http://52.16.120.219:4873 npm adduser --registry http://52.16.120.219:4873 ``` +##### How to publish on it: + +Add the repository to your package.json. +ATTENTION: If you don't add the following lines, the package is published on the public Npm repository. + +```json + "publishConfig": { + "registry": "http://52.16.120.219:4873/" + } +``` + +Run the command below: + +```sh +npm version patch +npm publish +``` + ### Running demo project *Steps below show the quickest way to get demo shell up and running.*