Skip to content

Commit

Permalink
chore: use .env.example instead of repeating env vars in now.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala committed Apr 10, 2020
1 parent 2839676 commit 9c022bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "marketplace-now-deploy",
"version": "2.3.0",
"scripts": {
"build": "cd webapp && npm install && npm run build && mv build ../public"
"build": "cd webapp && mv .env.example .env && npm install && npm run build && mv build ../public"
},
"dependencies": {
"decentraland-ui": "^2.13.1"
Expand Down
22 changes: 0 additions & 22 deletions webapp/now.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,6 @@
{
"version": 2,
"name": "marketplace",
"build": {
"env": {
"REACT_APP_BUY_MANA_URL": "https://kyberswap.com/swap/eth-mana",
"REACT_APP_MARKETPLACE_URL": "https://api.thegraph.com/subgraphs/name/decentraland/marketplace",
"REACT_APP_LAND_URL": "https://api.decentraland.org/v1",
"REACT_APP_MANA_ADDRESS": "0x0f5d2fb29fb7d3cfee444a200298f468908cc942",
"REACT_APP_MARKETPLACE_ADDRESS": "0x8e5660b4ab70168b5a6feea0e0315cb49c8cd539",
"REACT_APP_BIDS_ADDRESS": "0xe479dfd9664c693b2e2992300930b00bfde08233",
"REACT_APP_LAND_ADDRESS": "0xf87e31492faf9a91b02ee0deaad50d51d56d5d4d",
"REACT_APP_ESTATE_ADDRESS": "0x959e104e1a4db6317fa58f8295f586e1a978c297",
"REACT_APP_EXCLUSIVE_MASKS_ADDRESS": "0xc04528c14c8ffd84c7c1fb6719b4a89853035cdd",
"REACT_APP_HALLOWEEN_2019_ADDRESS": "0xc1f4b0eea2bd6690930e6c66efd3e197d620b9c2",
"REACT_APP_XMAS_2019_ADDRESS": "0xc3af02c0fd486c8e9da5788b915d6fff3f049866",
"REACT_APP_DCL_REGISTRAR": "0x2a187453064356c898cae034eaed119e1663acb8",
"REACT_APP_MCH_ADDRESS": "0xf64dc33a192e056bb5f0e5049356a0498b502d50",
"REACT_APP_COMMUNITY_CONTEST_ADDRESS": "0x32b7495895264ac9d0b12d32afd435453458b1c6",
"REACT_APP_DCL_LAUNCH_ADDRESS": "0xd35147be6401dcb20811f2104c33de8e97ed6818",
"REACT_APP_DCG_ADDRESS": "0x3163d2cfee3183f9874e2869942cc62649eeb004",
"REACT_APP_DCL_STAY_SAFE_ADDRESS": "0x201c3af8c471e5842428b74d1e7c0249adda2a92",
"REACT_APP_SEGMENT_API_KEY": "gMnkewUBzA6J879kAtMvp2WhohEk36uy"
}
},
"routes": [
{ "handle": "filesystem" },
{ "src": "/.*", "dest": "/index.html" }
Expand Down

0 comments on commit 9c022bb

Please sign in to comment.