2.0 bump
This commit is contained in:
commit
4bf2b2c45f
3
Video.js
3
Video.js
@ -1,4 +1,5 @@
|
|||||||
import React, {Component, PropTypes} from 'react';
|
import React, {Component} from 'react';
|
||||||
|
import PropTypes from 'prop-types';
|
||||||
import {StyleSheet, requireNativeComponent, NativeModules, View, Image} from 'react-native';
|
import {StyleSheet, requireNativeComponent, NativeModules, View, Image} from 'react-native';
|
||||||
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';
|
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource';
|
||||||
import VideoResizeMode from './VideoResizeMode.js';
|
import VideoResizeMode from './VideoResizeMode.js';
|
||||||
|
@ -17,7 +17,7 @@ public class ReactVideoPackage implements ReactPackage {
|
|||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
// Deprecated RN 0.47
|
||||||
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ public class ReactVideoPackage implements ReactPackage {
|
|||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
// Deprecated RN 0.47
|
||||||
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-video",
|
"name": "react-native-video",
|
||||||
"version": "1.2.0",
|
"version": "2.0.0",
|
||||||
"description": "A <Video /> element for react-native",
|
"description": "A <Video /> element for react-native",
|
||||||
"main": "Video.js",
|
"main": "Video.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
|
"author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
{
|
|
||||||
"name": "Matthew Apperson",
|
|
||||||
"email": "me@mattapperson.com"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Johannes Lumpe",
|
"name": "Johannes Lumpe",
|
||||||
"email": "johannes@lum.pe"
|
"email": "johannes@lum.pe"
|
||||||
@ -32,7 +28,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"keymirror": "0.1.1",
|
"keymirror": "0.1.1",
|
||||||
"react-native-windows": "0.41.0-rc.0"
|
"prop-types": "^15.5.10"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node_modules/.bin/eslint *.js"
|
"test": "node_modules/.bin/eslint *.js"
|
||||||
|
Loading…
Reference in New Issue
Block a user