UNPKG

@react-native-community/datetimepicker

Version:
143 lines (142 loc) 5.81 kB
{ "name": "@react-native-community/datetimepicker", "version": "6.3.0", "description": "DateTimePicker component for React Native", "main": "./src/index.js", "types": "src/index.d.ts", "files": [ "ios", "android", "src", "flow-typed", "windows", "RNDateTimePicker.podspec", "!android/build", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "publishConfig": { "access": "public" }, "scripts": { "start": "react-native start", "start:android": "react-native run-android --no-jetifier", "start:ios": "react-native run-ios --project-path example/ios", "start:windows": "react-native start --use-react-native-windows", "test": "jest", "lint": "eslint {example,src,test}/**/*.js src/index.d.ts", "flow": "flow check", "detox:ios:build:debug": "detox build -c ios.sim.debug", "detox:ios:test:debug": "SIMCTL_CHILD_TZ=Europe/Prague detox test -c ios.sim.debug -l verbose", "detox:ios:build:release": "detox build -c ios.sim.release", "detox:ios:test:release": "SIMCTL_CHILD_TZ=Europe/Prague detox test -c ios.sim.release --record-videos all --record-logs all -l verbose", "detox:android:build:debug": "detox build -c android.emu.debug", "detox:android:test:debug": "adb shell service call alarm 3 s16 Europe/Prague && detox test -c android.emu.debug -l verbose", "detox:android:build:release": "detox build -c android.emu.release", "detox:android:test:release": "adb shell service call alarm 3 s16 Europe/Prague && detox test -c android.emu.release --record-videos all --record-logs all --headless -l verbose", "detox:clean": "rimraf example/android/build && rimraf example/android/app/build && rimraf example/android/.gradle && rimraf example/ios/build" }, "repository": { "type": "git", "url": "git+https://github.com/react-native-community/datetimepicker.git" }, "keywords": [ "react-native-component", "react-native", "ios", "android", "windows", "datepicker", "timepicker", "datetime" ], "author": "Martijn Swaagman <mswaagman@godaddy.com> (https://github.com/swaagie)", "contributors": [ "Daniel Sanudo Vacas <dsanudovacas@godaddy.com> (https://github.com/DanielSanudo)", "Vojtech Novak <vonovak@gmail.com> (https://github.com/vonovak)", "Pavel Balint <lochness42@gmail.com> (https://github.com/lochness42)" ], "license": "MIT", "bugs": { "url": "https://github.com/react-native-community/datetimepicker/issues" }, "homepage": "https://github.com/react-native-community/datetimepicker#readme", "devDependencies": { "@babel/core": "^7.17.8", "@babel/runtime": "^7.17.8", "@react-native-community/eslint-config": "^2.0.0", "@react-native-segmented-control/segmented-control": "^2.4.0", "@semantic-release/git": "^10.0.1", "@testing-library/react-native": "^9.0.0", "babel-jest": "^27.5.1", "detox": "19.5.7", "eslint": "^7", "eslint-plugin-prettier": "^4.0.0", "flow-bin": "^0.158.0", "flow-typed": "^3.4.0", "jest": "^27.5.1", "jest-circus": "^27.5.1", "metro-react-native-babel-preset": "^0.66.2", "moment": "^2.24.0", "patch-package": "^6.4.7", "postinstall-postinstall": "^2.1.0", "prettier": "^2.6.0", "react": "17.0.2", "react-native": "^0.66.4", "react-native-localize": "^2.2.0", "react-native-windows": "^0.66.3", "react-test-renderer": "17.0.2", "semantic-release": "^18.0.1" }, "dependencies": { "invariant": "^2.2.4" }, "detox": { "test-runner": "jest", "runner-config": "example/e2e/config.json", "configurations": { "ios.sim.debug": { "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/example.app", "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/example.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 11' -scheme example -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES", "type": "ios.simulator", "device": { "type": "iPhone 11" } }, "ios.sim.release": { "binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/example.app", "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/example.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 11' -scheme example -configuration Release -derivedDataPath example/ios/build -UseModernBuildSystem=YES", "type": "ios.simulator", "device": { "type": "iPhone 11" } }, "android.emu.debug": { "binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk", "build": "export RCT_NO_LAUNCH_PACKAGER=true && (cd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug)", "type": "android.emulator", "device": { "avdName": "Pixel_5_Android_12_api_31" } }, "android.device.debug": { "binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk", "build": "export RCT_NO_LAUNCH_PACKAGER=true && (cd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug)", "type": "android.attached", "device": { "adbName": "34HDU19716000753" } }, "android.emu.release": { "binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk", "build": "export RCT_NO_LAUNCH_PACKAGER=true && (cd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release)", "type": "android.emulator", "device": { "avdName": "TestingAVD" } } } } }