-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: toolchain runs start/build for devnet or build for testnet if …
…required by Netlify
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Do not enter sensitive information here. | ||
export REACT_APP_DEPLOYMENT=devnet | ||
export REACT_APP_KLEROS_CORE_SUBGRAPH_DEVNET=http://localhost:8000/subgraphs/name/kleros/kleros-v2-core-local | ||
export REACT_APP_DISPUTE_TEMPLATE_ARBGOERLI_SUBGRAPH_DEVNET=https://api.thegraph.com/subgraphs/name/alcercu/disputetemplateregistryarbgrli2 | ||
export REACT_APP_DISPUTE_TEMPLATE_ARBGOERLI_SUBGRAPH_DEVNET=https://api.thegraph.com/subgraphs/name/alcercu/templateregistrydevnet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,12 @@ | |
"packageManager": "[email protected]", | ||
"scripts": { | ||
"clear": "rm -fr ../.parcel-cache dist/bundle.js", | ||
"start": "scripts/runEnv.sh devnet 'yarn generate && parcel'", | ||
"start-testnet": "scripts/runEnv.sh testnet 'yarn generate && parcel'", | ||
"start": "yarn start-devnet", | ||
"start-local": "scripts/runEnv.sh local 'yarn generate && parcel'", | ||
"build": "node scripts/gitInfo.js && yarn generate && parcel build", | ||
"start-devnet": "scripts/runEnv.sh devnet 'yarn generate && parcel'", | ||
"start-testnet": "scripts/runEnv.sh testnet 'yarn generate && parcel'", | ||
"build": "yarn build-${REACT_APP_DEPLOYMENT:-devnet}", | ||
"build-local": "scripts/runEnv.sh local 'yarn generate && parcel build'", | ||
"build-devnet": "scripts/runEnv.sh devnet 'yarn generate && parcel build'", | ||
"build-testnet": "scripts/runEnv.sh testnet 'yarn generate && parcel build'", | ||
"check-style": "eslint 'src/**/*.{js,jsx,ts,tsx}'", | ||
|