aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 16:43:41 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 16:43:41 +0800
commit03b5b0912264116c5aeec8c8756acc0a17f82624 (patch)
tree195ab7bbcaf6d9d3a308a1124688133b616da0fd /README.md
parentfe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1 (diff)
downloaddexon-0x-contracts-03b5b0912264116c5aeec8c8756acc0a17f82624.tar.gz
dexon-0x-contracts-03b5b0912264116c5aeec8c8756acc0a17f82624.tar.zst
dexon-0x-contracts-03b5b0912264116c5aeec8c8756acc0a17f82624.zip
Fix prettier
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index cd7fd44b1..3486bf161 100644
--- a/README.md
+++ b/README.md
@@ -78,11 +78,13 @@ We strongly recommend that the community help us make improvements and determine
### Install dependencies
If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:
+
```bash
yarn config set workspaces-experimental true
```
Then install dependencies
+
```bash
yarn install
```
@@ -90,11 +92,13 @@ yarn install
### Build
To build all packages:
+
```bash
yarn build
```
To build a specific package:
+
```bash
PKG=@0xproject/web3-wrapper yarn build
```
@@ -102,11 +106,13 @@ PKG=@0xproject/web3-wrapper yarn build
### Watch
To re-build all packages on change:
+
```bash
yarn watch
```
To watch a specific package and all it's dependent packages:
+
```bash
PKG=[NPM_PACKAGE_NAME] yarn watch
@@ -117,11 +123,13 @@ PKG=@0xproject/web3-wrapper yarn watch
### Clean
Clean all packages:
+
```bash
yarn clean
```
Clean a specific package
+
```bash
PKG=0x.js yarn clean
```
@@ -129,11 +137,13 @@ PKG=0x.js yarn clean
### Rebuild
To re-build (clean & build) all packages:
+
```bash
yarn rebuild
```
To re-build (clean & build) a specific package & it's deps:
+
```bash
PKG=0x.js yarn rebuild
```
@@ -141,11 +151,13 @@ PKG=0x.js yarn rebuild
### Lint
Lint all packages:
+
```bash
yarn lint
```
Lint a specific package:
+
```bash
PKG=0x.js yarn lint
```
@@ -153,11 +165,13 @@ PKG=0x.js yarn lint
### Run Tests
Run all tests:
+
```bash
yarn test
```
Run a specific package's test:
+
```bash
PKG=@0xproject/web3-wrapper yarn test
```