2019-02-24 02:52:56 +00:00
|
|
|
{
|
2019-02-24 04:38:20 +00:00
|
|
|
"name": "@react-native-community/cameraroll",
|
|
|
|
"author": "Bartol Karuza <bartol.k@gmail.com>",
|
|
|
|
"homepage": "https://github.com/react-native-community/react-native-cameraroll#readme",
|
2021-03-21 03:43:46 +00:00
|
|
|
"version": "4.0.3",
|
2019-04-09 12:47:02 +00:00
|
|
|
"description": "React Native Camera Roll for iOS & Android",
|
2019-02-24 04:57:12 +00:00
|
|
|
"main": "./js/CameraRoll.js",
|
2019-04-03 11:20:54 +00:00
|
|
|
"types": "./typings/CameraRoll.d.ts",
|
2019-02-24 02:52:56 +00:00
|
|
|
"scripts": {
|
2019-02-24 04:57:12 +00:00
|
|
|
"start": "react-native start",
|
2020-05-20 17:57:46 +00:00
|
|
|
"start:android": "react-native run-android --root example/",
|
|
|
|
"start:ios": "react-native run-ios --project-path example/ios",
|
2019-02-24 04:57:12 +00:00
|
|
|
"test": "yarn validate:eslint && yarn validate:flow && yarn validate:typescript && yarn test:jest",
|
|
|
|
"validate:eslint": "eslint 'js/**/*.js' 'example/**/*.js'",
|
|
|
|
"validate:flow": "flow check",
|
|
|
|
"validate:typescript": "tsc --project ./",
|
|
|
|
"test:jest": "jest js/",
|
2019-03-02 08:00:53 +00:00
|
|
|
"test:detox:android:test:debug": "detox test -c android.emu.debug",
|
|
|
|
"test:detox:android:test:release": "detox test -c android.emu.release",
|
|
|
|
"test:detox:android:build:debug": "detox build -c android.emu.debug",
|
|
|
|
"test:detox:android:build:release": "detox build -c android.emu.release",
|
|
|
|
"test:detox:android:bundle:release": "mkdir -p .tmp && react-native bundle --max-workers 4 --platform android --dev false --entry-file example/index.js --bundle-output .tmp/android-bundle.js",
|
|
|
|
"test:detox:ios:test:debug": "detox test -c ios.sim.debug",
|
|
|
|
"test:detox:ios:test:release": "detox test -c ios.sim.release",
|
|
|
|
"test:detox:ios:build:debug": "detox build -c ios.sim.debug",
|
|
|
|
"test:detox:ios:build:release": "detox build -c ios.sim.release",
|
|
|
|
"test:detox:ios:bundle:release": "mkdir -p .tmp && react-native bundle --max-workers 4 --platform ios --dev false --entry-file example/index.js --bundle-output .tmp/ios-bundle.js",
|
|
|
|
"test:detox:clean": "rimraf example/android/build && rimraf example/android/app/build && rimraf example/android/.gradle && rimraf example/ios/build",
|
2019-02-24 04:57:12 +00:00
|
|
|
"ci:publish": "yarn semantic-release",
|
|
|
|
"semantic-release": "semantic-release"
|
2019-02-24 02:52:56 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
2019-02-24 04:38:20 +00:00
|
|
|
"react-native",
|
|
|
|
"react native",
|
|
|
|
"cameraroll",
|
|
|
|
"camera",
|
|
|
|
"photo gallery"
|
2019-02-24 02:52:56 +00:00
|
|
|
],
|
2019-02-24 04:38:20 +00:00
|
|
|
"license": "MIT",
|
2019-02-24 02:52:56 +00:00
|
|
|
"peerDependencies": {
|
2021-03-23 08:07:11 +00:00
|
|
|
"react": "16 || 17",
|
|
|
|
"react-native": ">=0.60"
|
2019-02-24 02:52:56 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-05-20 17:57:46 +00:00
|
|
|
"@babel/core": "^7.9.6",
|
|
|
|
"@babel/runtime": "^7.9.6",
|
2021-03-21 03:55:20 +00:00
|
|
|
"@react-native-community/eslint-config": "^2.0.0",
|
2019-04-06 10:17:01 +00:00
|
|
|
"@semantic-release/git": "7.0.8",
|
2020-06-16 10:20:51 +00:00
|
|
|
"@types/react-native": "^0.62.10",
|
2019-02-24 02:52:56 +00:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
2020-05-20 17:57:46 +00:00
|
|
|
"babel-jest": "^26.0.1",
|
2019-04-06 10:17:01 +00:00
|
|
|
"babel-plugin-module-resolver": "^3.2.0",
|
2020-05-20 17:57:46 +00:00
|
|
|
"detox": "^16.5.0",
|
|
|
|
"eslint": "^7.0.0",
|
2019-05-07 20:30:06 +00:00
|
|
|
"eslint-plugin-prettier": "^3.0.1",
|
2021-03-21 03:55:20 +00:00
|
|
|
"flow-bin": "^0.122.0",
|
2019-05-07 20:12:27 +00:00
|
|
|
"husky": "^2.2.0",
|
2020-05-20 17:57:46 +00:00
|
|
|
"jest": "^26.0.1",
|
|
|
|
"metro-react-native-babel-preset": "^0.59.0",
|
2019-05-07 20:12:27 +00:00
|
|
|
"prettier": "^1.17.0",
|
|
|
|
"pretty-quick": "^1.10.0",
|
2021-03-21 03:55:20 +00:00
|
|
|
"react": "16.13.1",
|
|
|
|
"react-native": "0.63.4",
|
2020-05-20 17:57:46 +00:00
|
|
|
"react-test-renderer": "16.11.0",
|
2019-02-24 04:38:20 +00:00
|
|
|
"rimraf": "^2.6.3",
|
2019-04-06 10:17:01 +00:00
|
|
|
"semantic-release": "15.13.3",
|
|
|
|
"typescript": "^3.4.1"
|
2019-02-24 04:38:20 +00:00
|
|
|
},
|
2019-09-03 15:21:38 +00:00
|
|
|
"rn-docs": {
|
|
|
|
"title": "CameraRoll",
|
|
|
|
"type": "API"
|
|
|
|
},
|
2019-05-07 20:12:27 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "pretty-quick --staged"
|
|
|
|
}
|
2019-08-14 17:17:42 +00:00
|
|
|
},
|
2019-08-01 14:28:30 +00:00
|
|
|
"resolutions": {
|
2020-05-20 17:57:46 +00:00
|
|
|
"lodash": "4.17.15",
|
|
|
|
"@react-native-community/cli-platform-android": "~4.3.0"
|
2019-05-07 20:12:27 +00:00
|
|
|
},
|
2019-02-24 04:38:20 +00:00
|
|
|
"jest": {
|
|
|
|
"preset": "react-native",
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/jest.setup.js"
|
|
|
|
]
|
|
|
|
},
|
2019-03-02 08:00:53 +00:00
|
|
|
"detox": {
|
|
|
|
"test-runner": "jest",
|
|
|
|
"runner-config": "example/e2e/config.json",
|
|
|
|
"configurations": {
|
|
|
|
"ios.sim.debug": {
|
|
|
|
"binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/CameraRollExample.app",
|
2020-05-20 17:57:46 +00:00
|
|
|
"build": "xcodebuild -workspace example/ios/CameraRollExample.xcworkspace -configuration Debug -scheme CameraRollExample -sdk iphonesimulator -derivedDataPath example/ios/build | xcpretty -k",
|
2019-03-02 08:00:53 +00:00
|
|
|
"type": "ios.simulator",
|
2020-05-20 17:57:46 +00:00
|
|
|
"device": {
|
|
|
|
"type": "iPhone X"
|
|
|
|
}
|
2019-03-02 08:00:53 +00:00
|
|
|
},
|
|
|
|
"ios.sim.release": {
|
|
|
|
"binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/CameraRollExample.app",
|
2020-05-20 17:57:46 +00:00
|
|
|
"build": "xcodebuild -workspace example/ios/CameraRollExample.xcworkspace -configuration Release -scheme CameraRollExample -sdk iphonesimulator -derivedDataPath example/ios/build | xcpretty -k",
|
2019-03-02 08:00:53 +00:00
|
|
|
"type": "ios.simulator",
|
2020-05-20 17:57:46 +00:00
|
|
|
"device": {
|
|
|
|
"type": "iPhone X"
|
|
|
|
}
|
2019-03-02 08:00:53 +00:00
|
|
|
},
|
|
|
|
"android.emu.debug": {
|
|
|
|
"binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk",
|
2020-05-20 17:57:46 +00:00
|
|
|
"build": "pushd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
|
2019-03-02 08:00:53 +00:00
|
|
|
"type": "android.emulator",
|
2020-05-20 17:57:46 +00:00
|
|
|
"device": {
|
|
|
|
"avdName": "TestingAVD"
|
|
|
|
}
|
2019-03-02 08:00:53 +00:00
|
|
|
},
|
|
|
|
"android.emu.release": {
|
|
|
|
"binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk",
|
2020-05-20 17:57:46 +00:00
|
|
|
"build": "pushd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
|
2019-03-02 08:00:53 +00:00
|
|
|
"type": "android.emulator",
|
2020-05-20 17:57:46 +00:00
|
|
|
"device": {
|
|
|
|
"avdName": "TestingAVD"
|
|
|
|
}
|
2019-03-02 08:00:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-02-24 04:38:20 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/react-native-community/react-native-cameraroll.git"
|
2019-02-24 02:52:56 +00:00
|
|
|
}
|
|
|
|
}
|