diff --git a/.npmignore b/.npmignore index 13e9ae1..42929e3 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,4 @@ +.github coverage node_modules src diff --git a/README.md b/README.md index 96adfff..29aee10 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Result [![Coverage Status](https://coveralls.io/repos/github/DScheglov/@cardellini/ts-result/badge.svg?branch=master&service=github)](https://coveralls.io/github/DScheglov/@cardellini/ts-result?branch=master&service=github) [![npm version](https://img.shields.io/npm/v/@cardellini/ts-result.svg?style=flat-square)](https://www.npmjs.com/package/@cardellini/ts-result) [![npm downloads](https://img.shields.io/npm/dm/@cardellini/ts-result.svg?style=flat-square)](https://www.npmjs.com/package/@cardellini/ts-result) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/DScheglov/@cardellini/ts-result/blob/master/LICENSE) +# Result [![Coverage Status](https://coveralls.io/repos/github/DScheglov/ts-result/badge.svg?branch=master&service=github)](https://coveralls.io/github/DScheglov/ts-result?branch=master&service=github) [![npm version](https://img.shields.io/npm/v/@cardellini/ts-result.svg?style=flat-square)](https://www.npmjs.com/package/@cardellini/ts-result) [![npm downloads](https://img.shields.io/npm/dm/@cardellini/ts-result.svg?style=flat-square)](https://www.npmjs.com/package/@cardellini/ts-result) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/DScheglov/ts-result/blob/master/LICENSE) Useful type to model success and failure, implemented with focus on type safety, developer experience and preserving flat learning curve. diff --git a/examples/package.json b/examples/package.json index ccd0637..1a6e778 100644 --- a/examples/package.json +++ b/examples/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@cardellini/ts-result": "../" + "@cardellini/ts-result": "latest" } } \ No newline at end of file diff --git a/package.json b/package.json index 485534d..99d4614 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,13 @@ }, "keywords": ["result", "either", "monad", "functor", "async", "io", "task", "rust"], "author": "Dmytro Shchehlov ", + "repository": { + "type": "git", + "url": "git+https://github.com/DScheglov/ts-result" + }, + "bugs": { + "url": "https://github.com/DScheglov/ts-result/issues" + }, "license": "MIT", "devDependencies": { "@type-challenges/utils": "^0.1.1",