From 533f77c1ccc6f0b0e17949db2d4b016aa08dd8e6 Mon Sep 17 00:00:00 2001 From: RabbitDoge <72658581+RabbitDoge@users.noreply.github.com> Date: Mon, 2 Nov 2020 17:00:10 +0900 Subject: [PATCH] chore: Remove unused deps eslint is already managed by react-script. react-ga called events with no GA ID, thus being useles. --- .env | 1 - .env.development | 3 +++ .env.production | 4 ++-- package.json | 2 -- yarn.lock | 7 +------ 5 files changed, 6 insertions(+), 11 deletions(-) create mode 100644 .env.development diff --git a/.env b/.env index 799105b05..fe1815d7a 100644 --- a/.env +++ b/.env @@ -1,3 +1,2 @@ REACT_APP_CHAIN_ID="97" REACT_APP_NETWORK_URL="https://data-seed-prebsc-1-s1.binance.org:8545" -REACT_APP_GOOGLE_ANALYTICS_ID="" diff --git a/.env.development b/.env.development new file mode 100644 index 000000000..22ba3dd5f --- /dev/null +++ b/.env.development @@ -0,0 +1,3 @@ +REACT_APP_NETWORK_URL="https://data-seed-prebsc-1-s1.binance.org:8545" +REACT_APP_CHAIN_ID="97" +REACT_APP_GTAG = "GTM-PXLD3XW" \ No newline at end of file diff --git a/.env.production b/.env.production index 4c97c6362..dad037d70 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ -REACT_APP_CHAIN_ID="56" REACT_APP_NETWORK_URL="https://bsc-dataseed1.defibit.io" -REACT_APP_GOOGLE_ANALYTICS_ID="" \ No newline at end of file +REACT_APP_CHAIN_ID="56" +REACT_APP_GTAG = "GTM-TLF66T4" \ No newline at end of file diff --git a/package.json b/package.json index 8aac582ce..9b5f360c7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "copy-to-clipboard": "^3.2.0", "cross-env": "^7.0.2", "cypress": "^4.11.0", - "eslint": "^6.8.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.3", "eslint-plugin-react": "^7.19.0", @@ -62,7 +61,6 @@ "react-device-detect": "^1.6.2", "react-dom": "^16.13.1", "react-feather": "^2.0.8", - "react-ga": "^2.5.7", "react-i18next": "^10.7.0", "react-popper": "^2.2.3", "react-redux": "^7.2.0", diff --git a/yarn.lock b/yarn.lock index 2c4875d9f..5d2d7e1ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6572,7 +6572,7 @@ eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== -eslint@^6.6.0, eslint@^6.8.0: +eslint@^6.6.0: version "6.8.0" resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" integrity sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig== @@ -12465,11 +12465,6 @@ react-focus-lock@^2.3.1: use-callback-ref "^1.2.1" use-sidecar "^1.0.1" -react-ga@^2.5.7: - version "2.7.0" - resolved "https://registry.yarnpkg.com/react-ga/-/react-ga-2.7.0.tgz#24328f157f31e8cffbf4de74a3396536679d8d7c" - integrity sha512-AjC7UOZMvygrWTc2hKxTDvlMXEtbmA0IgJjmkhgmQQ3RkXrWR11xEagLGFGaNyaPnmg24oaIiaNPnEoftUhfXA== - react-i18next@^10.7.0: version "10.13.2" resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-10.13.2.tgz#2943705fa751d366fc95b3755520ebe6eeed2408"