forked from alexilyenko/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* uses `.env` file in `configs/environment/` to specify variables for the current envionment, if needed, and `.env.defaults` for default values
- Loading branch information
1 parent
8f7e011
commit 3642552
Showing
5 changed files
with
98 additions
and
0 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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.DS_Store | ||
node_modules | ||
dist | ||
configs/environment/.env |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Default values for some env variables. Use .env to add/change variables for the | ||
# current environment. | ||
|
||
API_ENV=devNet | ||
API_ENDPOINT_LOCAL=http://127.0.0.1:5001 | ||
API_ENDPOINT_DEV_NET=https://gateway.devnet.sui.io | ||
EXPLORER_URL_LOCAL=http://localhost:8080/ | ||
EXPLORER_URL_DEV_NET=https://explorer.devnet.sui.io/ |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -32,6 +32,7 @@ | |
"author": "Mysten Labs <[email protected]>", | ||
"license": "Apache-2.0", | ||
"devDependencies": { | ||
"@types/dotenv-webpack": "^7.0.3", | ||
"@types/jest": "^27.5.0", | ||
"@types/node": "^17.0.31", | ||
"@types/react": "^18.0.8", | ||
|
@@ -42,6 +43,7 @@ | |
"copy-webpack-plugin": "^10.2.4", | ||
"cross-env": "^7.0.3", | ||
"css-loader": "^6.7.1", | ||
"dotenv-webpack": "^7.1.0", | ||
"eslint": "^8.14.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-react-app": "^7.0.1", | ||
|