Skip to content

Commit 86b16af

Browse files
committed
feat(using-animated-api): Updates example to use the published package
1 parent 23b6749 commit 86b16af

File tree

3 files changed

+36
-15
lines changed

3 files changed

+36
-15
lines changed

example/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import { StyleSheet, Text, View, Dimensions } from "react-native";
33

4-
import FadingSlides from "./index";
4+
import FadingSlides from "react-native-fading-slides";
55

66
const { width, height } = Dimensions.get("window");
77

example/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.1.0",
44
"private": true,
55
"devDependencies": {
6-
"react-native-scripts": "1.8.1",
76
"jest-expo": "23.0.0",
7+
"react-native-scripts": "1.8.1",
88
"react-test-renderer": "16.0.0"
99
},
1010
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
@@ -22,6 +22,7 @@
2222
"expo": "^23.0.4",
2323
"prop-types": "^15.6.0",
2424
"react": "16.0.0",
25-
"react-native": "0.50.3"
25+
"react-native": "0.50.3",
26+
"react-native-fading-slides": "^0.1.4"
2627
}
2728
}

example/yarn.lock

+32-12
Original file line numberDiff line numberDiff line change
@@ -2611,15 +2611,15 @@ https-proxy-agent@1, https-proxy-agent@^1.0.0:
26112611
debug "2"
26122612
extend "3"
26132613

2614-
iconv-lite@0.4.11:
2614+
iconv-lite@0.4.11, iconv-lite@^0.4.8:
26152615
version "0.4.11"
26162616
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.11.tgz#2ecb42fd294744922209a2e7c404dac8793d8ade"
26172617

26182618
iconv-lite@0.4.13:
26192619
version "0.4.13"
26202620
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2"
26212621

2622-
iconv-lite@0.4.19, iconv-lite@^0.4.17, iconv-lite@^0.4.8, iconv-lite@~0.4.13:
2622+
iconv-lite@0.4.19, iconv-lite@^0.4.17, iconv-lite@~0.4.13:
26232623
version "0.4.19"
26242624
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
26252625

@@ -3740,13 +3740,13 @@ mime-db@~1.23.0:
37403740
version "1.23.0"
37413741
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.23.0.tgz#a31b4070adaea27d732ea333740a64d0ec9a6659"
37423742

3743-
mime-types@2.1.11:
3743+
mime-types@2.1.11, mime-types@~2.1.9:
37443744
version "2.1.11"
37453745
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.11.tgz#c259c471bda808a85d6cd193b430a5fae4473b3c"
37463746
dependencies:
37473747
mime-db "~1.23.0"
37483748

3749-
mime-types@^2.1.12, mime-types@~2.1.15, mime-types@~2.1.16, mime-types@~2.1.17, mime-types@~2.1.6, mime-types@~2.1.7, mime-types@~2.1.9:
3749+
mime-types@^2.1.12, mime-types@~2.1.15, mime-types@~2.1.16, mime-types@~2.1.17, mime-types@~2.1.6, mime-types@~2.1.7:
37503750
version "2.1.17"
37513751
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a"
37523752
dependencies:
@@ -4427,6 +4427,12 @@ querystring@0.2.0, querystring@^0.2.0:
44274427
version "0.2.0"
44284428
resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"
44294429

4430+
raf@^3.1.0:
4431+
version "3.4.0"
4432+
resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.0.tgz#a28876881b4bc2ca9117d4138163ddb80f781575"
4433+
dependencies:
4434+
performance-now "^2.1.0"
4435+
44304436
random-bytes@~1.0.0:
44314437
version "1.0.0"
44324438
resolved "https://registry.yarnpkg.com/random-bytes/-/random-bytes-1.0.0.tgz#4f68a1dc0ae58bd3fb95848c30324db75d64360b"
@@ -4505,6 +4511,13 @@ react-native-branch@2.0.0-beta.3:
45054511
version "2.0.0-beta.3"
45064512
resolved "https://registry.yarnpkg.com/react-native-branch/-/react-native-branch-2.0.0-beta.3.tgz#2167af86bbc9f964bd45bd5f37684e5b54965e32"
45074513

4514+
react-native-fading-slides@^0.1.4:
4515+
version "0.1.4"
4516+
resolved "https://registry.yarnpkg.com/react-native-fading-slides/-/react-native-fading-slides-0.1.4.tgz#d94a00ff952b231acf159121c672c2a707b36435"
4517+
dependencies:
4518+
react-timer-mixin "^0.13.3"
4519+
react-tween-state "^0.1.3"
4520+
45084521
react-native-gesture-handler@1.0.0-alpha.30:
45094522
version "1.0.0-alpha.30"
45104523
resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-1.0.0-alpha.30.tgz#7f79c2da5a59cc8ce20cf04c11360409a53bef59"
@@ -4638,7 +4651,7 @@ react-test-renderer@16.0.0:
46384651
fbjs "^0.8.16"
46394652
object-assign "^4.1.1"
46404653

4641-
react-timer-mixin@^0.13.2:
4654+
react-timer-mixin@^0.13.2, react-timer-mixin@^0.13.3:
46424655
version "0.13.3"
46434656
resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.3.tgz#0da8b9f807ec07dc3e854d082c737c65605b3d22"
46444657

@@ -4649,6 +4662,13 @@ react-transform-hmr@^1.0.4:
46494662
global "^4.3.0"
46504663
react-proxy "^1.1.7"
46514664

4665+
react-tween-state@^0.1.3:
4666+
version "0.1.5"
4667+
resolved "https://registry.yarnpkg.com/react-tween-state/-/react-tween-state-0.1.5.tgz#e98b066551efb93cb92dd1be14995c2e3deae339"
4668+
dependencies:
4669+
raf "^3.1.0"
4670+
tween-functions "^1.0.1"
4671+
46524672
react@16.0.0:
46534673
version "16.0.0"
46544674
resolved "https://registry.yarnpkg.com/react/-/react-16.0.0.tgz#ce7df8f1941b036f02b2cca9dbd0cb1f0e855e2d"
@@ -5573,6 +5593,10 @@ tunnel-agent@^0.6.0:
55735593
dependencies:
55745594
safe-buffer "^5.0.1"
55755595

5596+
tween-functions@^1.0.1:
5597+
version "1.2.0"
5598+
resolved "https://registry.yarnpkg.com/tween-functions/-/tween-functions-1.2.0.tgz#1ae3a50e7c60bb3def774eac707acbca73bbc3ff"
5599+
55765600
tweetnacl@^0.14.3, tweetnacl@~0.14.0:
55775601
version "0.14.5"
55785602
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
@@ -5704,15 +5728,15 @@ uuid@3.0.0:
57045728
version "3.0.0"
57055729
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.0.tgz#6728fc0459c450d796a99c31837569bdf672d728"
57065730

5707-
uuid@3.0.1:
5731+
uuid@3.0.1, uuid@^3.0.0, uuid@^3.0.1:
57085732
version "3.0.1"
57095733
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"
57105734

57115735
uuid@^2.0.1:
57125736
version "2.0.3"
57135737
resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a"
57145738

5715-
uuid@^3.0.0, uuid@^3.0.1, uuid@^3.1.0:
5739+
uuid@^3.1.0:
57165740
version "3.1.0"
57175741
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
57185742

@@ -5792,11 +5816,7 @@ whatwg-encoding@^1.0.1:
57925816
dependencies:
57935817
iconv-lite "0.4.19"
57945818

5795-
whatwg-fetch@>=0.10.0:
5796-
version "2.0.3"
5797-
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84"
5798-
5799-
whatwg-fetch@^1.0.0:
5819+
whatwg-fetch@>=0.10.0, whatwg-fetch@^1.0.0:
58005820
version "1.1.1"
58015821
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-1.1.1.tgz#ac3c9d39f320c6dce5339969d054ef43dd333319"
58025822

0 commit comments

Comments
 (0)