Skip to content

Commit 83c38e3

Browse files
committed
minor fix
1 parent c64b097 commit 83c38e3

File tree

3 files changed

+10
-56
lines changed

3 files changed

+10
-56
lines changed

.eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"parser": "babel-eslint",
32
"env": {
43
"browser": true,
54
"es6": true,

package.json

+6-9
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"node": ">=8.0.0"
1414
},
1515
"scripts": {
16-
"build": "./node_module/.bin/babel src --out-dir lib",
17-
"lint": "./node_module/.bin/eslint .",
18-
"lint:fix": "./node_module/.bin/eslint --fix .",
19-
"format": "./node_module/.bin/prettier --ignore-path .gitignore --write ./{*.json,**/*.json}"
16+
"build": "./node_modules/.bin/babel src --out-dir lib",
17+
"lint": "./node_modules/.bin/eslint .",
18+
"lint:fix": "./node_modules/.bin/eslint --fix .",
19+
"format": "./node_modules/.bin/prettier --ignore-path .gitignore --write ./{*.json,**/*.json}"
2020
},
2121
"repository": {
2222
"type": "git",
@@ -48,8 +48,6 @@
4848
"dependencies": {
4949
"bip39": "^3.0.2",
5050
"ethereumjs-wallet": "^0.6.3",
51-
"husky": "^3.1.0",
52-
"lint-staged": "^9.5.0",
5351
"sweetalert2": "^8.15.2",
5452
"web3-provider-engine": "^15.0.3"
5553
},
@@ -61,14 +59,13 @@
6159
"@babel/plugin-transform-runtime": "^7.6.0",
6260
"@babel/preset-env": "^7.6.0",
6361
"@babel/runtime": "^7.6.3",
64-
"babel-eslint": "^10.0.3",
6562
"babel-loader": "^8.0.6",
6663
"eslint": "^6.3.0",
6764
"eslint-config-prettier": "^6.2.0",
6865
"eslint-plugin-import": "^2.18.2",
69-
"eslint-plugin-node": "^10.0.0",
7066
"eslint-plugin-prettier": "^3.1.0",
71-
"eslint-plugin-promise": "^4.2.1",
67+
"husky": "^3.1.0",
68+
"lint-staged": "^9.5.0",
7269
"prettier": "^1.18.2",
7370
"webpack": "^4.39.1",
7471
"webpack-cli": "^3.3.6"

yarn.lock

+4-46
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
esutils "^2.0.2"
231231
js-tokens "^4.0.0"
232232

233-
"@babel/parser@^7.0.0", "@babel/parser@^7.6.0":
233+
"@babel/parser@^7.6.0":
234234
version "7.6.0"
235235
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.6.0.tgz#3e05d0647432a8326cb28d0de03895ae5a57f39b"
236236
integrity sha512-+o2q111WEx4srBs7L9eJmcwi655eD8sXniLqMB93TBK9GrNzGrxDWSjiqz2hLU0Ha8MTXFIP0yd9fNdP+m43ZQ==
@@ -678,7 +678,7 @@
678678
"@babel/parser" "^7.6.0"
679679
"@babel/types" "^7.6.0"
680680

681-
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.4", "@babel/traverse@^7.5.5", "@babel/traverse@^7.6.0":
681+
"@babel/traverse@^7.1.0", "@babel/traverse@^7.4.4", "@babel/traverse@^7.5.5", "@babel/traverse@^7.6.0":
682682
version "7.6.0"
683683
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.6.0.tgz#389391d510f79be7ce2ddd6717be66d3fed4b516"
684684
integrity sha512-93t52SaOBgml/xY74lsmt7xOR4ufYvhb5c5qiM6lu4J/dWGMAfAh6eKw4PjLes6DI6nQgearoxnFJk60YchpvQ==
@@ -1178,18 +1178,6 @@ aws4@^1.8.0:
11781178
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
11791179
integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==
11801180

1181-
babel-eslint@^10.0.3:
1182-
version "10.0.3"
1183-
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.0.3.tgz#81a2c669be0f205e19462fed2482d33e4687a88a"
1184-
integrity sha512-z3U7eMY6r/3f3/JB9mTsLjyxrv0Yb1zb8PCWCLpguxfCzBIZUwy23R1t/XKewP+8mEN2Ck8Dtr4q20z6ce6SoA==
1185-
dependencies:
1186-
"@babel/code-frame" "^7.0.0"
1187-
"@babel/parser" "^7.0.0"
1188-
"@babel/traverse" "^7.0.0"
1189-
"@babel/types" "^7.0.0"
1190-
eslint-visitor-keys "^1.0.0"
1191-
resolve "^1.12.0"
1192-
11931181
babel-loader@^8.0.6:
11941182
version "8.0.6"
11951183
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.0.6.tgz#e33bdb6f362b03f4bb141a0c21ab87c501b70dfb"
@@ -2201,14 +2189,6 @@ eslint-module-utils@^2.4.0:
22012189
debug "^2.6.8"
22022190
pkg-dir "^2.0.0"
22032191

2204-
eslint-plugin-es@^2.0.0:
2205-
version "2.0.0"
2206-
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-2.0.0.tgz#0f5f5da5f18aa21989feebe8a73eadefb3432976"
2207-
integrity sha512-f6fceVtg27BR02EYnBhgWLFQfK6bN4Ll0nQFrBHOlCsAyxeZkn0NHns5O0YZOPrV1B3ramd6cgFwaoFLcSkwEQ==
2208-
dependencies:
2209-
eslint-utils "^1.4.2"
2210-
regexpp "^3.0.0"
2211-
22122192
eslint-plugin-import@^2.18.2:
22132193
version "2.18.2"
22142194
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6"
@@ -2226,30 +2206,13 @@ eslint-plugin-import@^2.18.2:
22262206
read-pkg-up "^2.0.0"
22272207
resolve "^1.11.0"
22282208

2229-
eslint-plugin-node@^10.0.0:
2230-
version "10.0.0"
2231-
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-10.0.0.tgz#fd1adbc7a300cf7eb6ac55cf4b0b6fc6e577f5a6"
2232-
integrity sha512-1CSyM/QCjs6PXaT18+zuAXsjXGIGo5Rw630rSKwokSs2jrYURQc4R5JZpoanNCqwNmepg+0eZ9L7YiRUJb8jiQ==
2233-
dependencies:
2234-
eslint-plugin-es "^2.0.0"
2235-
eslint-utils "^1.4.2"
2236-
ignore "^5.1.1"
2237-
minimatch "^3.0.4"
2238-
resolve "^1.10.1"
2239-
semver "^6.1.0"
2240-
22412209
eslint-plugin-prettier@^3.1.0:
22422210
version "3.1.0"
22432211
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.0.tgz#8695188f95daa93b0dc54b249347ca3b79c4686d"
22442212
integrity sha512-XWX2yVuwVNLOUhQijAkXz+rMPPoCr7WFiAl8ig6I7Xn+pPVhDhzg4DxHpmbeb0iqjO9UronEA3Tb09ChnFVHHA==
22452213
dependencies:
22462214
prettier-linter-helpers "^1.0.0"
22472215

2248-
eslint-plugin-promise@^4.2.1:
2249-
version "4.2.1"
2250-
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz#845fd8b2260ad8f82564c1222fce44ad71d9418a"
2251-
integrity sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw==
2252-
22532216
eslint-scope@^4.0.3:
22542217
version "4.0.3"
22552218
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848"
@@ -5170,11 +5133,6 @@ regexpp@^2.0.1:
51705133
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f"
51715134
integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==
51725135

5173-
regexpp@^3.0.0:
5174-
version "3.0.0"
5175-
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e"
5176-
integrity sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==
5177-
51785136
regexpu-core@^4.5.4:
51795137
version "4.5.5"
51805138
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.5.tgz#aaffe61c2af58269b3e516b61a73790376326411"
@@ -5280,7 +5238,7 @@ resolve-url@^0.2.1:
52805238
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
52815239
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
52825240

5283-
resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
5241+
resolve@^1.10.0, resolve@^1.11.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
52845242
version "1.12.0"
52855243
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
52865244
integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
@@ -5473,7 +5431,7 @@ semver-compare@^1.0.0:
54735431
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
54745432
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
54755433

5476-
semver@^6.1.0, semver@^6.1.2, semver@^6.3.0:
5434+
semver@^6.1.2, semver@^6.3.0:
54775435
version "6.3.0"
54785436
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
54795437
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==

0 commit comments

Comments
 (0)