cra-template-elrond-dapp
Advanced tools
Comparing version 0.4.1 to 0.5.0
{ | ||
"name": "cra-template-elrond-dapp", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"author": "Julian Ćwirko (julian.io)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -27,3 +27,3 @@ ## Elrond Dapp - custom starter kit | ||
**By default postinstall script will setup .env.local with devnet configuration.** | ||
**Make sure that you have .env.local file:** `cp .env.devnet.example .env.local` | ||
@@ -30,0 +30,0 @@ There are examples are for the devnet and the testnet in separate files: `.env.devnet.example` and `.env.testnet.example`. |
{ | ||
"package": { | ||
"dependencies": { | ||
"@elrondnetwork/dapp": "^0.0.64", | ||
"@elrondnetwork/dapp": "^0.0.68", | ||
"@elrondnetwork/dapp-utils": "^0.0.14", | ||
"@elrondnetwork/erdjs": "^8.0.1-alpha.8", | ||
"@elrondnetwork/erdjs": "^8.0.1-alpha.10", | ||
"evergreen-ui": "^6.5.0", | ||
@@ -38,9 +38,7 @@ "moment": "^2.29.1", | ||
"eslint-plugin-react": "^7.25.1", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"shx": "^0.3.3" | ||
"eslint-plugin-react-hooks": "^4.2.0" | ||
}, | ||
"scripts": { | ||
"lint": "eslint --ext ts,tsx,js src --fix", | ||
"prettier": "prettier --write 'src/**/*.{ts,tsx,js,json}'", | ||
"postinstall": "shx cp .env.devnet.example .env.local" | ||
"prettier": "prettier --write 'src/**/*.{ts,tsx,js,json}'" | ||
}, | ||
@@ -47,0 +45,0 @@ "eslintConfig": { |
### Elrond Dapp - custom starter kit | ||
Remember to configure .env file. Review and rename `.env.devnet.example` (or `.env.testnet.example`) to `.env.local`. Examples are for the devnet and the testnet in separate files. | ||
Custom Elrond Blockchain Dapp React starter kit | ||
@@ -27,3 +27,3 @@ ``` | ||
**By default postinstall script will setup .env.local with devnet configuration.** | ||
**Make sure that you have .env.local file:** `cp .env.devnet.example .env.local` | ||
@@ -30,0 +30,0 @@ There are examples are for the devnet and the testnet in separate files: `.env.devnet.example` and `.env.testnet.example`. |
@@ -33,8 +33,1 @@ export const stringToHex = (str: string) => { | ||
}; | ||
export const providerIdMap: { [key: string]: string } = { | ||
local: 'local-testnet', | ||
testnet: 'elrond-testnet', | ||
devnet: 'elrond-devnet', | ||
mainnet: 'elrond-mainnet', | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79820
742