Add command to deploy react-docs example
This commit is contained in:
parent
238f3c89a7
commit
5f626495fd
1
.gitignore
vendored
1
.gitignore
vendored
@ -68,6 +68,7 @@ generated_docs/
|
||||
TODO.md
|
||||
|
||||
packages/website/public/bundle*
|
||||
packages/react-docs/example/public/bundle*
|
||||
|
||||
# generated binaries
|
||||
bin/
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user