From 45ac9603083c38dbab6fb6eff26c744eea2b4429 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 2 Feb 2018 12:42:19 +0100 Subject: Add build:watch to README's --- README.md | 6 ++++++ package.json | 1 + packages/contracts/README.md | 6 ++++++ packages/deployer/README.md | 6 ++++++ packages/json-schemas/README.md | 6 ++++++ packages/monorepo-scripts/README.md | 6 ++++++ packages/subproviders/README.md | 6 ++++++ packages/tslint-config/README.md | 6 ++++++ packages/types/README.md | 6 ++++++ packages/utils/README.md | 6 ++++++ packages/web3-wrapper/README.md | 6 ++++++ 11 files changed, 61 insertions(+) diff --git a/README.md b/README.md index 16847e87d..775f7cdf3 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,12 @@ Build all packages yarn lerna:run build ``` +Continuously rebuild on exchange + +```bash +yarn dev +``` + ### Lint Lint all packages diff --git a/package.json b/package.json index 435920d2c..290b56444 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "name": "0x.js", "workspaces": ["packages/*"], "scripts": { + "dev": "lerna run --parallel build:watch", "testrpc": "testrpc -p 8545 --networkId 50 -m \"${npm_package_config_mnemonic}\"", "prettier": "prettier --write '**/*.{ts,tsx,json,md}' --config .prettierrc", "prettier:ci": "prettier --list-different '**/*.{ts,tsx,json,md}' --config .prettierrc", diff --git a/packages/contracts/README.md b/packages/contracts/README.md index 0a1c272ab..11b9e5056 100644 --- a/packages/contracts/README.md +++ b/packages/contracts/README.md @@ -38,6 +38,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Clean ```bash diff --git a/packages/deployer/README.md b/packages/deployer/README.md index 4293f82d4..f4e688fd7 100644 --- a/packages/deployer/README.md +++ b/packages/deployer/README.md @@ -60,6 +60,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Lint ```bash diff --git a/packages/json-schemas/README.md b/packages/json-schemas/README.md index 9166f50c1..754ce4e95 100644 --- a/packages/json-schemas/README.md +++ b/packages/json-schemas/README.md @@ -49,6 +49,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Lint ```bash diff --git a/packages/monorepo-scripts/README.md b/packages/monorepo-scripts/README.md index bed9bd6a6..ea1d43bd5 100644 --- a/packages/monorepo-scripts/README.md +++ b/packages/monorepo-scripts/README.md @@ -40,6 +40,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Clean ```bash diff --git a/packages/subproviders/README.md b/packages/subproviders/README.md index d7b80f7ee..78643ad55 100644 --- a/packages/subproviders/README.md +++ b/packages/subproviders/README.md @@ -64,6 +64,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Clean ```bash diff --git a/packages/tslint-config/README.md b/packages/tslint-config/README.md index 8a6fa8a2f..b517f2d95 100644 --- a/packages/tslint-config/README.md +++ b/packages/tslint-config/README.md @@ -44,6 +44,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Lint ```bash diff --git a/packages/types/README.md b/packages/types/README.md index d63970150..d2fa33c8f 100644 --- a/packages/types/README.md +++ b/packages/types/README.md @@ -40,6 +40,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Lint ```bash diff --git a/packages/utils/README.md b/packages/utils/README.md index d6cacfa11..ffb0d0190 100644 --- a/packages/utils/README.md +++ b/packages/utils/README.md @@ -40,6 +40,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Lint ```bash diff --git a/packages/web3-wrapper/README.md b/packages/web3-wrapper/README.md index 5b22aefd4..7ed66ca41 100644 --- a/packages/web3-wrapper/README.md +++ b/packages/web3-wrapper/README.md @@ -44,6 +44,12 @@ yarn install yarn build ``` +or + +```bash +yarn build:watch +``` + ### Lint ```bash -- cgit