9eb5502076
* remove unused examples * init bare example with test app * add react-native-video * add test app suport in expo plugin * expo plugin: skip keys that are already in pod file * fix podfile * add src files * fix metro config * finalize react native test app configuration * init expo example * remove old examples * add guide for example * Add link to examples apps in docs * adopt bare example to CI tests * update CI workflows * CI build lib after node_modules install * fix examples readme * fix iOS CI * Add Example for DRM * Update examples/README.md * fix links * update examples README * sync example code * update README
53 lines
2.1 KiB
JSON
53 lines
2.1 KiB
JSON
{
|
|
"name": "BareExample",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "patch-package",
|
|
"android": "react-native run-android",
|
|
"build:android": "npm run mkdist && react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist/res",
|
|
"build:ios": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist",
|
|
"build:visionos": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.visionos.jsbundle --assets-dest dist",
|
|
"build:windows": "npm run mkdist && react-native bundle --entry-file index.js --platform windows --dev true --bundle-output dist/main.windows.bundle --assets-dest dist",
|
|
"ios": "react-native run-ios",
|
|
"lint": "eslint .",
|
|
"mkdist": "node -e \"require('node:fs').mkdirSync('dist', { recursive: true, mode: 0o755 })\"",
|
|
"start": "react-native start",
|
|
"test": "jest",
|
|
"visionos": "react-native run-visionos",
|
|
"windows": "react-native run-windows --sln windows/BareExample.sln"
|
|
},
|
|
"dependencies": {
|
|
"@callstack/react-native-visionos": "^0.73.0",
|
|
"@react-native-picker/picker": "2.8.1",
|
|
"react": "18.2.0",
|
|
"react-native": "0.73.2",
|
|
"react-native-video": "link:../..",
|
|
"react-native-windows": "^0.73.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.0",
|
|
"@babel/preset-env": "^7.20.0",
|
|
"@babel/runtime": "^7.20.0",
|
|
"@expo/config-plugins": "^8.0.10",
|
|
"@react-native/babel-preset": "0.73.19",
|
|
"@react-native/eslint-config": "0.73.2",
|
|
"@react-native/metro-config": "0.73.3",
|
|
"@react-native/typescript-config": "0.73.1",
|
|
"@rnx-kit/metro-config": "^2.0.0",
|
|
"@types/react": "^18.2.6",
|
|
"@types/react-test-renderer": "^18.0.0",
|
|
"babel-jest": "^29.6.3",
|
|
"eslint": "^8.19.0",
|
|
"jest": "^29.6.3",
|
|
"patch-package": "^8.0.0",
|
|
"prettier": "2.8.8",
|
|
"react-native-test-app": "^3.10.14",
|
|
"react-test-renderer": "18.2.0",
|
|
"typescript": "5.0.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|