feat: testnet build
- Adds ropsten contract address to embark config - Adds build:testnet target to build packages pointing to ropsten - Adds create:fullbuild:testnet to create a deployable zip with files pointing to testnet
This commit is contained in:
parent
c15105d6e1
commit
97c25b0aea
|
@ -22,6 +22,7 @@
|
|||
"preinstall": "yarn npmcheckversion",
|
||||
"prebuild": "yarn build:clean",
|
||||
"build": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout",
|
||||
"build:testnet": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout",
|
||||
"build:clean": "rimraf ./build",
|
||||
"start": "cross-env NODE_ENV=development node server",
|
||||
"start:dev": "cross-env NODE_ENV=development node server --display-error-details",
|
||||
|
|
|
@ -51,7 +51,7 @@ module.exports = {
|
|||
address: '0xc55cf4b03948d7ebc8b9e8bad92643703811d162', // Ropsten SNT address
|
||||
},
|
||||
Discover: {
|
||||
args:["$MiniMeToken"] // TODO: replace for real ropsten address
|
||||
address: '0x9fb115BC152aE21ECDc81c73843673fa38e4D2dB'
|
||||
},
|
||||
DiscoverKyberSwap: {
|
||||
deploy: false
|
||||
|
|
|
@ -11,10 +11,16 @@
|
|||
"fullbuild:backend": "cp -r Backend/* full-build/",
|
||||
"fullbuild:webapp": "mkdir full-build/frontend && cp -r WebApp/build/* full-build/frontend/",
|
||||
"fullbuild:archive": "cd full-build/ && bestzip ../app.zip * && cd ..",
|
||||
|
||||
"create:fullbuild": "yarn build && yarn fullbuild:clean && yarn fullbuild:init && yarn fullbuild:misc && yarn fullbuild:backend && yarn fullbuild:webapp && yarn fullbuild:archive",
|
||||
"create:fullbuild:testnet": "yarn build:testnet && yarn fullbuild:clean && yarn fullbuild:init && yarn fullbuild:misc && yarn fullbuild:backend && yarn fullbuild:webapp && yarn fullbuild:archive",
|
||||
|
||||
"build-internal": "yarn wsrun --stages --exclude-missing -c build",
|
||||
"build-internal": "yarn wsrun --serial --exclude-missing -c build",
|
||||
"build": "dotenv yarn build-internal",
|
||||
|
||||
"build-internal:testnet": "yarn wsrun --serial --exclude-missing -c build:testnet",
|
||||
"build:testnet": "dotenv yarn build-internal:testnet",
|
||||
|
||||
"build:local": "dotenv yarn build",
|
||||
"build:webapp-internal": "yarn wsrun -p webapp -c build",
|
||||
"build:webapp": "dotenv yarn build:webapp-internal",
|
||||
|
|
Loading…
Reference in New Issue