Skip to content
This repository was archived by the owner on Mar 31, 2021. It is now read-only.

Commit 3d6c570

Browse files
committed
Use dependencies
1 parent a1843f3 commit 3d6c570

2 files changed

Lines changed: 13 additions & 78 deletions

File tree

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,19 @@
1919
},
2020
"homepage": "https://github.com/onaclover/react-native-utils#readme",
2121
"peerDependencies": {
22-
"lodash": "^4.17.4",
2322
"react": "16.0.0-alpha.6",
24-
"react-native": "^0.44.2",
25-
"react-native-device-info": "^0.10.1",
26-
"singleton": "^1.0.0"
23+
"react-native": "^0.44.2"
2724
},
2825
"devDependencies": {
2926
"babel-eslint": "^7.2.1",
3027
"eslint": "^3.18.0",
3128
"eslint-plugin-import": "^2.2.0",
32-
"eslint-plugin-react": "^6.10.3",
29+
"eslint-plugin-react": "^7.0.1",
3330
"eslint-plugin-react-native": "^2.3.1"
31+
},
32+
"dependencies": {
33+
"lodash": "^4.17.4",
34+
"react-native-device-info": "^0.10.1",
35+
"singleton": "^1.0.0"
3436
}
3537
}

yarn.lock

Lines changed: 6 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ array-uniq@^1.0.1:
5555
version "1.0.3"
5656
resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6"
5757

58-
array.prototype.find@^2.0.1:
59-
version "2.0.4"
60-
resolved "https://registry.yarnpkg.com/array.prototype.find/-/array.prototype.find-2.0.4.tgz#556a5c5362c08648323ddaeb9de9d14bc1864c90"
61-
dependencies:
62-
define-properties "^1.1.2"
63-
es-abstract "^1.7.0"
64-
6558
arrify@^1.0.0:
6659
version "1.0.1"
6760
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
@@ -226,13 +219,6 @@ deep-is@~0.1.3:
226219
version "0.1.3"
227220
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
228221

229-
define-properties@^1.1.2:
230-
version "1.1.2"
231-
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94"
232-
dependencies:
233-
foreach "^2.0.5"
234-
object-keys "^1.0.8"
235-
236222
del@^2.0.2:
237223
version "2.2.2"
238224
resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8"
@@ -245,7 +231,7 @@ del@^2.0.2:
245231
pinkie-promise "^2.0.0"
246232
rimraf "^2.2.8"
247233

248-
doctrine@1.5.0, doctrine@^1.2.2:
234+
doctrine@1.5.0:
249235
version "1.5.0"
250236
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
251237
dependencies:
@@ -265,23 +251,6 @@ error-ex@^1.2.0:
265251
dependencies:
266252
is-arrayish "^0.2.1"
267253

268-
es-abstract@^1.7.0:
269-
version "1.7.0"
270-
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c"
271-
dependencies:
272-
es-to-primitive "^1.1.1"
273-
function-bind "^1.1.0"
274-
is-callable "^1.1.3"
275-
is-regex "^1.0.3"
276-
277-
es-to-primitive@^1.1.1:
278-
version "1.1.1"
279-
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d"
280-
dependencies:
281-
is-callable "^1.1.1"
282-
is-date-object "^1.0.1"
283-
is-symbol "^1.0.1"
284-
285254
es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14:
286255
version "0.10.23"
287256
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.23.tgz#7578b51be974207a5487821b56538c224e4e7b38"
@@ -381,15 +350,13 @@ eslint-plugin-react-native@^2.3.1:
381350
version "2.3.2"
382351
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native/-/eslint-plugin-react-native-2.3.2.tgz#e1b2ba2d97fb46b16fe2dbb5bd4d0f47419f2859"
383352

384-
eslint-plugin-react@^6.10.3:
385-
version "6.10.3"
386-
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-6.10.3.tgz#c5435beb06774e12c7db2f6abaddcbf900cd3f78"
353+
eslint-plugin-react@^7.0.1:
354+
version "7.0.1"
355+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.0.1.tgz#e78107e1e559c6e2b17786bb67c2e2a010ad0d2f"
387356
dependencies:
388-
array.prototype.find "^2.0.1"
389-
doctrine "^1.2.2"
357+
doctrine "^2.0.0"
390358
has "^1.0.1"
391359
jsx-ast-utils "^1.3.4"
392-
object.assign "^4.0.4"
393360

394361
eslint@^3.18.0:
395362
version "3.19.0"
@@ -518,15 +485,11 @@ flat-cache@^1.2.1:
518485
graceful-fs "^4.1.2"
519486
write "^0.2.1"
520487

521-
foreach@^2.0.5:
522-
version "2.0.5"
523-
resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99"
524-
525488
fs.realpath@^1.0.0:
526489
version "1.0.0"
527490
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
528491

529-
function-bind@^1.0.2, function-bind@^1.1.0:
492+
function-bind@^1.0.2:
530493
version "1.1.0"
531494
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771"
532495

@@ -643,14 +606,6 @@ is-builtin-module@^1.0.0:
643606
dependencies:
644607
builtin-modules "^1.0.0"
645608

646-
is-callable@^1.1.1, is-callable@^1.1.3:
647-
version "1.1.3"
648-
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
649-
650-
is-date-object@^1.0.1:
651-
version "1.0.1"
652-
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
653-
654609
is-fullwidth-code-point@^1.0.0:
655610
version "1.0.0"
656611
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb"
@@ -690,22 +645,12 @@ is-property@^1.0.0:
690645
version "1.0.2"
691646
resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84"
692647

693-
is-regex@^1.0.3:
694-
version "1.0.4"
695-
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
696-
dependencies:
697-
has "^1.0.1"
698-
699648
is-resolvable@^1.0.0:
700649
version "1.0.0"
701650
resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.0.0.tgz#8df57c61ea2e3c501408d100fb013cf8d6e0cc62"
702651
dependencies:
703652
tryit "^1.0.1"
704653

705-
is-symbol@^1.0.1:
706-
version "1.0.1"
707-
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572"
708-
709654
isarray@^1.0.0, isarray@~1.0.0:
710655
version "1.0.0"
711656
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
@@ -825,18 +770,6 @@ object-assign@^4.0.1, object-assign@^4.1.0:
825770
version "4.1.1"
826771
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
827772

828-
object-keys@^1.0.10, object-keys@^1.0.8:
829-
version "1.0.11"
830-
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
831-
832-
object.assign@^4.0.4:
833-
version "4.0.4"
834-
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.0.4.tgz#b1c9cc044ef1b9fe63606fc141abbb32e14730cc"
835-
dependencies:
836-
define-properties "^1.1.2"
837-
function-bind "^1.1.0"
838-
object-keys "^1.0.10"
839-
840773
once@^1.3.0:
841774
version "1.4.0"
842775
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"

0 commit comments

Comments
 (0)