fix: dependencies

This commit is contained in:
Jakub Grzywacz 2021-07-10 13:09:42 +02:00
parent 1f10c14236
commit ca52784f57
No known key found for this signature in database
GPG Key ID: 5BBB685871FF63C4
4 changed files with 9 additions and 21 deletions

View File

@ -1,9 +1,6 @@
package com.example.reactnativeemojikeyboard;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
public class MainActivity extends ReactActivity {
@ -15,13 +12,4 @@ public class MainActivity extends ReactActivity {
protected String getMainComponentName() {
return "EmojiKeyboardExample";
}
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
return new ReactActivityDelegate(this, getMainComponentName()) {
@Override
protected ReactRootView createRootView() {
return new RNGestureHandlerEnabledRootView(MainActivity.this);
}
};
}
}

View File

@ -868,9 +868,9 @@
wcwidth "^1.0.1"
"@types/hammerjs@^2.0.36":
version "2.0.39"
resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.39.tgz#4be64bbacf3813c79c0dab895c6b0fdc7d5e513f"
integrity sha512-lYR2Y/tV2ujpk/WyUc7S0VLI0a9hrtVIN9EwnrNo5oSEJI2cK2/XrgwOQmXLL3eTulOESvh9qP6si9+DWM9cOA==
version "2.0.40"
resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.40.tgz#ded0240b6ea1ad7afc1e60374c49087aaea5dbd8"
integrity sha512-VbjwR1fhsn2h2KXAY4oy1fm7dCxaKy0D+deTb8Ilc3Eo3rc5+5eA4rfYmZaHgNJKxVyI0f6WIXzO2zLkVmQPHA==
"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0":
version "2.0.3"

View File

@ -69,7 +69,9 @@
},
"peerDependencies": {
"react": "*",
"react-native": "*"
"react-native": "*",
"react-native-gesture-handler": "^1.10.3",
"react-native-svg": "^12.1.1"
},
"jest": {
"preset": "react-native",
@ -151,8 +153,6 @@
]
},
"dependencies": {
"react-native-gesture-handler": "^1.10.3",
"react-native-svg": "^12.1.1",
"unicode-emoji-json": "^0.2.1"
}
}

View File

@ -1900,9 +1900,9 @@
"@types/node" "*"
"@types/hammerjs@^2.0.36":
version "2.0.39"
resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.39.tgz#4be64bbacf3813c79c0dab895c6b0fdc7d5e513f"
integrity sha512-lYR2Y/tV2ujpk/WyUc7S0VLI0a9hrtVIN9EwnrNo5oSEJI2cK2/XrgwOQmXLL3eTulOESvh9qP6si9+DWM9cOA==
version "2.0.40"
resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.40.tgz#ded0240b6ea1ad7afc1e60374c49087aaea5dbd8"
integrity sha512-VbjwR1fhsn2h2KXAY4oy1fm7dCxaKy0D+deTb8Ilc3Eo3rc5+5eA4rfYmZaHgNJKxVyI0f6WIXzO2zLkVmQPHA==
"@types/http-cache-semantics@*":
version "4.0.0"