Add command to deploy react-docs example

This commit is contained in:
Fabio Berger 2018-03-07 16:05:13 +01:00
parent 238f3c89a7
commit 5f626495fd
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -68,6 +68,7 @@ generated_docs/
TODO.md
packages/website/public/bundle*
packages/react-docs/example/public/bundle*
# generated binaries
bin/

View File

@ -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",