aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-typescript-typings/README.md
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-05 02:08:20 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:37 +0800
commita3274ac9b1f972f58f9e3b7ca5fc45829c4a1cd2 (patch)
tree53c9193bbd976ca1aefd23486d9e54074c405af1 /packages/web3-typescript-typings/README.md
parent2e67d69434e5e3ddedb6f889cf960038965a2812 (diff)
downloaddexon-sol-tools-a3274ac9b1f972f58f9e3b7ca5fc45829c4a1cd2.tar
dexon-sol-tools-a3274ac9b1f972f58f9e3b7ca5fc45829c4a1cd2.tar.gz
dexon-sol-tools-a3274ac9b1f972f58f9e3b7ca5fc45829c4a1cd2.tar.bz2
dexon-sol-tools-a3274ac9b1f972f58f9e3b7ca5fc45829c4a1cd2.tar.lz
dexon-sol-tools-a3274ac9b1f972f58f9e3b7ca5fc45829c4a1cd2.tar.xz
dexon-sol-tools-a3274ac9b1f972f58f9e3b7ca5fc45829c4a1cd2.tar.zst
dexon-sol-tools-a3274ac9b1f972f58f9e3b7ca5fc45829c4a1cd2.zip
Import web3-typescript-typings to monorepo
Diffstat (limited to 'packages/web3-typescript-typings/README.md')
-rw-r--r--packages/web3-typescript-typings/README.md56
1 files changed, 40 insertions, 16 deletions
diff --git a/packages/web3-typescript-typings/README.md b/packages/web3-typescript-typings/README.md
index 8d92aa681..e26bf87e4 100644
--- a/packages/web3-typescript-typings/README.md
+++ b/packages/web3-typescript-typings/README.md
@@ -1,25 +1,49 @@
-Web3 Typescript Type Definition
--------------------------------
+## web3-typescript-typings
-There currently isn't an official [Web3][Web3]
-type definition included in the [DefinitelyTyped][DefinitelyTyped] project.
+There currently isn't an official [Web3][web3]
+type definition included in the [DefinitelyTyped][definitelytyped] project.
Until that happens, we will continue to improve our own type definition.
-If it get's close to comprehensive, we'll add it to [DefinitelyTyped][DefinitelyTyped].
+If it get's close to comprehensive, we'll add it to [DefinitelyTyped][definitelytyped].
-[Web3]: https://github.com/ethereum/web3.js/
-[DefinitelyTyped]: https://github.com/DefinitelyTyped/DefinitelyTyped
+[web3]: https://github.com/ethereum/web3.js/
+[definitelytyped]: https://github.com/DefinitelyTyped/DefinitelyTyped
-# Installation
-Using npm:
-```
-npm install --save-dev web3-typescript-typings
+## Installation
+
+```bash
+yarn add -D web3-typescript-typings
```
-Using yarn:
+
+## Usage
+
+Add the following lines to compilerOptions section of your `tsconfig.json`
+
+```json
+"typeRoots": ["node_modules/@types", "node_modules/web3-typescript-typings"]
```
-yarn add web3-typescript-typings -D
+
+## Contributing
+
+We strongly encourage that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.
+
+Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.
+
+### Install Dependencies
+
+If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:
+
+```bash
+yarn config set workspaces-experimental true
```
-Also don't forget to manually include the definitions within the `typeRoots` section of your `tsconfig.json`
+
+Then install dependencies
+
+```bash
+yarn install
```
-"typeRoots": ["node_modules/@types", "node_modules/web3-typescript-typings"]
+
+### Lint
+
+```bash
+yarn lint
```
-And you're ready to go to a bright type-safe and distributed future!