diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | packages/react-docs/package.json | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 49d0604ea..7d27493cc 100644 --- a/.gitignore +++ b/.gitignore @@ -68,6 +68,7 @@ generated_docs/ TODO.md packages/website/public/bundle* +packages/react-docs/example/public/bundle* # generated binaries bin/ 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", |