diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-07 23:05:13 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-07 23:05:13 +0800 |
commit | 5f626495fd95ca44b76a3317877497edd72c418c (patch) | |
tree | 16749d0272407b1b92128b2ecdb9769e4e3fb050 /packages/react-docs/package.json | |
parent | 238f3c89a7cfc3c8d6941aac4e108c13f84c6647 (diff) | |
download | dexon-sol-tools-5f626495fd95ca44b76a3317877497edd72c418c.tar dexon-sol-tools-5f626495fd95ca44b76a3317877497edd72c418c.tar.gz dexon-sol-tools-5f626495fd95ca44b76a3317877497edd72c418c.tar.bz2 dexon-sol-tools-5f626495fd95ca44b76a3317877497edd72c418c.tar.lz dexon-sol-tools-5f626495fd95ca44b76a3317877497edd72c418c.tar.xz dexon-sol-tools-5f626495fd95ca44b76a3317877497edd72c418c.tar.zst dexon-sol-tools-5f626495fd95ca44b76a3317877497edd72c418c.zip |
Add command to deploy react-docs example
Diffstat (limited to 'packages/react-docs/package.json')
-rw-r--r-- | packages/react-docs/package.json | 4 |
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", |