aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-07 23:05:13 +0800
committerFabio Berger <me@fabioberger.com>2018-03-07 23:05:13 +0800
commit5f626495fd95ca44b76a3317877497edd72c418c (patch)
tree16749d0272407b1b92128b2ecdb9769e4e3fb050 /packages/react-docs
parent238f3c89a7cfc3c8d6941aac4e108c13f84c6647 (diff)
downloaddexon-0x-contracts-5f626495fd95ca44b76a3317877497edd72c418c.tar.gz
dexon-0x-contracts-5f626495fd95ca44b76a3317877497edd72c418c.tar.zst
dexon-0x-contracts-5f626495fd95ca44b76a3317877497edd72c418c.zip
Add command to deploy react-docs example
Diffstat (limited to 'packages/react-docs')
-rw-r--r--packages/react-docs/package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json
index e38aef2e5..16f0e348e 100644
--- a/packages/react-docs/package.json
+++ b/packages/react-docs/package.json
@@ -7,9 +7,11 @@
"scripts": {
"lint": "tslint --project . 'src/ts/**/*.ts' 'src/ts/**/*.tsx'",
"build": "tsc",
+ "build:example": "NODE_ENV=production webpack; exit 0;",
"build:watch": "tsc -w",
"clean": "shx rm -rf lib",
- "dev": "webpack-dev-server --open"
+ "dev": "webpack-dev-server --open",
+ "deploy_example": "npm run build:example; aws s3 sync ./example/public/. s3://react-docs-example --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers"
},
"author": "Fabio Berger",
"license": "MIT",