Socket
Socket
Sign inDemoInstall

cra-template-elrond-dapp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cra-template-elrond-dapp - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

58

package.json
{
"name": "cra-template-elrond-dapp",
"version": "0.4.0",
"author": "Julian Ćwirko (julian.io)",
"keywords": [
"react",
"create-react-app",
"template",
"typescript",
"elrond",
"blockchain",
"dapp"
],
"description": "Custom Elrond Dapp template for Create React App.",
"repository": {
"type": "git",
"url": "https://github.com/juliancwirko/cra-template-elrond-dapp"
},
"license": "MIT",
"engines": {
"node": ">=12"
},
"files": [
"template",
"template.json"
]
"name": "cra-template-elrond-dapp",
"version": "0.4.1",
"author": "Julian Ćwirko (julian.io)",
"keywords": [
"react",
"create-react-app",
"template",
"typescript",
"elrond",
"blockchain",
"dapp"
],
"description": "Custom Elrond Dapp template for Create React App.",
"repository": {
"type": "git",
"url": "https://github.com/juliancwirko/cra-template-elrond-dapp"
},
"scripts": {
"prettier": "prettier --write 'template/**/*.{ts,tsx,js,json}'"
},
"license": "MIT",
"engines": {
"node": ">=12"
},
"files": [
"template",
"template.json"
],
"devDependencies": {
"@types/react": "^17.0.31",
"prettier": "^2.4.1"
}
}

@@ -22,3 +22,2 @@ ## Elrond Dapp - custom starter kit

cd my-app
cp .env.devnet.example .env.local
yarn start

@@ -29,4 +28,6 @@ ```

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.
**By default postinstall script will setup .env.local with devnet configuration.**
There are examples are for the devnet and the testnet in separate files: `.env.devnet.example` and `.env.testnet.example`.
Dependencies:

@@ -33,0 +34,0 @@

{
"package": {
"dependencies": {
"@elrondnetwork/dapp": "^0.0.60",
"@elrondnetwork/dapp": "^0.0.64",
"@elrondnetwork/dapp-utils": "^0.0.14",
"@elrondnetwork/erdjs": "^8.0.1-alpha.5",
"@elrondnetwork/erdjs": "^8.0.1-alpha.8",
"evergreen-ui": "^6.5.0",

@@ -38,7 +38,9 @@ "moment": "^2.29.1",

"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0"
"eslint-plugin-react-hooks": "^4.2.0",
"shx": "^0.3.3"
},
"scripts": {
"lint": "eslint --ext ts,tsx,js src --fix",
"prettier": "prettier --write 'src/**/*.{ts,tsx,js,json}'"
"prettier": "prettier --write 'src/**/*.{ts,tsx,js,json}'",
"postinstall": "shx cp .env.devnet.example .env.local"
},

@@ -45,0 +47,0 @@ "eslintConfig": {

@@ -22,6 +22,11 @@ ### Elrond Dapp - custom starter kit

cd my-app
cp .env.devnet.example .env.local
yarn start
```
### Configuration
**By default postinstall script will setup .env.local with devnet configuration.**
There are examples are for the devnet and the testnet in separate files: `.env.devnet.example` and `.env.testnet.example`.
Dependencies:

@@ -28,0 +33,0 @@

{
"compilerOptions": {
"target": "es2020",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,

@@ -23,5 +19,3 @@ "skipLibCheck": true,

},
"include": [
"src"
]
"include": ["src"]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc