68b9db4d11
Converts iOS implementation from Objective-c to Swift # During the conversion process some updates to the code structure were also made - Modularize codebase from single file to smaller focused files - Untangled large nested IF statements - Added more null checks, since Swift is more strict with null pointers - Added property to allow for decoding of local video sources with self contained key for offline playback - Updates example apps to test react-native 0.63.4 and uses auto native dependency imports for android and ios
36 lines
1022 B
JSON
36 lines
1022 B
JSON
{
|
|
"name": "VideoPlayer",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "cd ios && pod install && cd .. && react-native run-ios",
|
|
"windows": "react-native run-windows",
|
|
"start": "node node_modules/react-native/local-cli/cli.js start",
|
|
"test": "jest",
|
|
"lint": "eslint ."
|
|
},
|
|
"dependencies": {
|
|
"@react-native-picker/picker": "^1.9.11",
|
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
"react": "16.13.1",
|
|
"react-native": "0.63.4",
|
|
"react-native-video": "../..",
|
|
"react-native-windows": "0.63.41"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.8.4",
|
|
"@babel/runtime": "^7.8.4",
|
|
"@react-native-community/eslint-config": "^1.1.0",
|
|
"@types/react": "^18.0.6",
|
|
"@types/react-native": "^0.67.6",
|
|
"babel-jest": "^25.1.0",
|
|
"eslint": "^6.5.1",
|
|
"jest": "^25.1.0",
|
|
"metro-react-native-babel-preset": "^0.59.0",
|
|
"react-test-renderer": "16.13.1"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native"
|
|
}
|
|
} |