From 47c2f6acb305c3cddf64efc8fd063209faa9404a Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Thu, 19 May 2016 13:47:06 +0100 Subject: [PATCH] Update README.md --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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.*