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",
|
2019-08-14 20:05:17 +00:00
|
|
|
"version": "1.2.1",
|
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",
|
|
|
|
"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": {
|
2019-02-24 04:38:20 +00:00
|
|
|
"react": "^16.0",
|
2019-04-14 08:59:35 +00:00
|
|
|
"react-native": ">=0.57 <=0.59"
|
2019-02-24 02:52:56 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-04-06 10:17:01 +00:00
|
|
|
"@babel/core": "^7.4.3",
|
2019-05-07 20:30:06 +00:00
|
|
|
"@react-native-community/eslint-config": "^0.0.5",
|
2019-04-06 10:17:01 +00:00
|
|
|
"@semantic-release/git": "7.0.8",
|
2019-02-24 02:52:56 +00:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
2019-04-06 10:17:01 +00:00
|
|
|
"babel-jest": "^24.7.0",
|
|
|
|
"babel-plugin-module-resolver": "^3.2.0",
|
|
|
|
"detox": "^12.1.2",
|
2019-05-07 20:30:06 +00:00
|
|
|
"eslint": "^5.16.0",
|
|
|
|
"eslint-plugin-prettier": "^3.0.1",
|
2019-02-24 04:38:20 +00:00
|
|
|
"flow-bin": "^0.86.0",
|
2019-05-07 20:12:27 +00:00
|
|
|
"husky": "^2.2.0",
|
2019-04-06 10:17:01 +00:00
|
|
|
"jest": "24.7.0",
|
2019-02-24 02:52:56 +00:00
|
|
|
"metro-react-native-babel-preset": "0.51.1",
|
2019-05-07 20:12:27 +00:00
|
|
|
"prettier": "^1.17.0",
|
|
|
|
"pretty-quick": "^1.10.0",
|
2019-02-24 04:38:20 +00:00
|
|
|
"react": "16.6.3",
|
|
|
|
"react-native": "0.58.4",
|
|
|
|
"react-test-renderer": "16.6.3",
|
|
|
|
"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": {
|
|
|
|
"lodash": "4.17.15"
|
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",
|
|
|
|
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/CameraRollExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme CameraRollExample -parallelizeTargets -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k",
|
|
|
|
"type": "ios.simulator",
|
|
|
|
"name": "iPhone X"
|
|
|
|
},
|
|
|
|
"ios.sim.release": {
|
|
|
|
"binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/CameraRollExample.app",
|
|
|
|
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project example/ios/CameraRollExample.xcodeproj -destination 'platform=iOS Simulator,name=iPhone X' -scheme CameraRollExample -parallelizeTargets -configuration Release -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k",
|
|
|
|
"type": "ios.simulator",
|
|
|
|
"name": "iPhone X"
|
|
|
|
},
|
|
|
|
"android.emu.debug": {
|
|
|
|
"binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk",
|
|
|
|
"build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
|
|
|
|
"type": "android.emulator",
|
|
|
|
"name": "TestingAVD"
|
|
|
|
},
|
|
|
|
"android.emu.release": {
|
|
|
|
"binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk",
|
|
|
|
"build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
|
|
|
|
"type": "android.emulator",
|
|
|
|
"name": "TestingAVD"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
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
|
|
|
}
|
|
|
|
}
|