From db3626ea14a970e89f9b5c305322efca0d622a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Tue, 17 Sep 2019 15:38:08 +0200 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 80f77c2..be8d3e1 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,18 @@ # @devatscience/ngx-errors -Source library to generate angular package ready for NPM +Error handling for Angular. ## How to -Once the changes are complete : -- Update the package.json file -- Increase version `"version": "0.1.1"` -- Run `npm build ngx-errors` to generate a **dist** folder that will contain all the required NPM files (typeScript & compiled es5 js) -- Move to the generated library **dist** folder `cd .../dist/ngx-errors` -- Check the package.json file -- Name should be `"name": "@devatscience/ngx-errors"`, version `"version": "0.1.1"` -- Run `npm publish --access public` to send it on npmjs +### Run the tests + +- Install the dependencies : `npm install` +- Run the test suite : `npm test` + +### Publish a new version + +- Use `npm version` to create a tagged commit for the new version. +- Push it. ## Library content -- GitLab