aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 17:41:51 +0800
committerGitHub <noreply@github.com>2018-05-15 17:41:51 +0800
commit406e91d387f67b0eda48e9ab682814c8feffb5e1 (patch)
tree90e047171c2326d5a8c39164945c768858ca3302 /README.md
parentca08dd9705c2aefb092b10926af359ed8fabac79 (diff)
parent473acafd1457a381405335dae80a3a8e810af17b (diff)
downloaddexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar
dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.gz
dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.bz2
dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.lz
dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.xz
dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.tar.zst
dexon-sol-tools-406e91d387f67b0eda48e9ab682814c8feffb5e1.zip
Merge pull request #588 from 0xProject/improvement/use-wsrun
Individual package building & watching!!! 💪 🌹
Diffstat (limited to 'README.md')
-rw-r--r--README.md77
1 files changed, 66 insertions, 11 deletions
diff --git a/README.md b/README.md
index de77e980e..3486bf161 100644
--- a/README.md
+++ b/README.md
@@ -91,32 +91,87 @@ yarn install
### Build
-Build all packages. You need to do this before working on any given package. Although these packages
-as independent, when run from within the monorepo, they are internally symlinked, to make development
-easier. You can change several packages and run the changes without publishing them first to NPM. When
-running `rebuild`, Lerna will figure out the dependency order of all the packages, and build them in
-this order.
+To build all packages:
```bash
-yarn lerna:rebuild
+yarn build
```
-Or continuously rebuild on change:
+To build a specific package:
```bash
-yarn dev
+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
+
+e.g
+PKG=@0xproject/web3-wrapper yarn watch
+```
+
+### Clean
+
+Clean all packages:
+
+```bash
+yarn clean
+```
+
+Clean a specific package
+
+```bash
+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
```
### Lint
-Lint all packages
+Lint all packages:
```bash
-yarn lerna:run lint
+yarn lint
+```
+
+Lint a specific package:
+
+```bash
+PKG=0x.js yarn lint
```
### Run Tests
+Run all tests:
+
+```bash
+yarn test
+```
+
+Run a specific package's test:
+
```bash
-yarn lerna:test
+PKG=@0xproject/web3-wrapper yarn test
```