aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 01:23:50 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 01:23:50 +0800
commit478f6ed011185b66ac87323c6d9ad1f598060760 (patch)
tree09c4619287e0fc874c0258f722f543b7c6ce7f5e /packages/website
parentc94d1b22754c1d1bf10f0dd2b9c13eea91e17cb6 (diff)
downloaddexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.gz
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.bz2
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.lz
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.xz
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.tar.zst
dexon-sol-tools-478f6ed011185b66ac87323c6d9ad1f598060760.zip
Move from using lerna multi-package commands to wsrun, update README's accordingly
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/README.md8
-rw-r--r--packages/website/package.json2
2 files changed, 4 insertions, 6 deletions
diff --git a/packages/website/README.md b/packages/website/README.md
index d93d18935..7115a3b5c 100644
--- a/packages/website/README.md
+++ b/packages/website/README.md
@@ -30,18 +30,16 @@ yarn install
### Initial setup
-The **first** time you work with this package, you must build **all** packages within the monorepo. This is because packages that depend on other packages located inside this monorepo are symlinked when run from **within** the monorepo. This allows you to make changes across multiple packages without first publishing dependent packages to NPM. To build all packages, run the following from the monorepo root directory:
+To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:
```bash
-yarn lerna:rebuild
+PKG=@0xproject/website yarn build
```
### Run dev server
-The the `website` root directory, run:
-
```bash
-yarn dev
+PKG=@0xproject/website yarn watch
```
Visit [0xproject.localhost:3572](http://0xproject.localhost:3572) in your browser.
diff --git a/packages/website/package.json b/packages/website/package.json
index ad84a3eb9..286ceaca8 100644
--- a/packages/website/package.json
+++ b/packages/website/package.json
@@ -7,7 +7,7 @@
"build": "NODE_ENV=production webpack; exit 0;",
"clean": "shx rm -f public/bundle*",
"lint": "tslint --project . 'ts/**/*.ts' 'ts/**/*.tsx'",
- "dev": "webpack-dev-server --content-base public --https",
+ "watch": "webpack-dev-server --content-base public --https",
"deploy_staging": "npm run build; aws s3 sync ./public/. s3://staging-0xproject --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers",
"deploy_live": "npm run build; aws s3 sync ./public/. s3://0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers"
},