diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-07-14 04:35:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-14 04:35:01 +0800 |
commit | ab5cd95cccff7b776d168036394203261b354aae (patch) | |
tree | d011565b1c95d4682381f8f573afadf98911e396 /packages/website/package.json | |
parent | 26363931ed8ba35a55073d00c4fe128c7e616acc (diff) | |
parent | b70f5d1a1efcb3b07673aa3b4bc7bc2318f55462 (diff) | |
download | dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.gz dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.bz2 dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.lz dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.xz dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.zst dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.zip |
Merge pull request #867 from 0xProject/bug/website/txhash-error
Only upload sourcemaps to rollbar on live deploys, and handle NaN error by using 0
Diffstat (limited to 'packages/website/package.json')
-rw-r--r-- | packages/website/package.json | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/website/package.json b/packages/website/package.json index 39743cb44..ef314ba2d 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -11,9 +11,12 @@ "clean": "shx rm -f public/bundle*", "lint": "tslint --project . 'ts/**/*.ts' 'ts/**/*.tsx'", "watch_without_deps": "webpack-dev-server --content-base public --https", - "deploy_dogfood": "npm run build; aws s3 sync ./public/. s3://dogfood.0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "deploy_staging": "npm run build; aws s3 sync ./public/. s3://staging-0xproject --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "deploy_live": "npm run build; aws s3 sync ./public/. s3://0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --exclude *.map.js" + "deploy_dogfood": + "npm run build; aws s3 sync ./public/. s3://dogfood.0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "deploy_staging": + "npm run build; aws s3 sync ./public/. s3://staging-0xproject --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "deploy_live": + "DEPLOY_ROLLBAR_SOURCEMAPS=true npm run build; aws s3 sync ./public/. s3://0xproject.com --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --exclude *.map.js" }, "author": "Fabio Berger", "license": "Apache-2.0", |