@react-native-community/datetimepicker
Version:
DateTimePicker component for React Native
141 lines (140 loc) • 5.5 kB
JSON
{
"name": "@react-native-community/datetimepicker",
"version": "3.4.2",
"description": "DateTimePicker component for React Native",
"main": "./src/index.js",
"types": "src/index.d.ts",
"files": [
"ios",
"android",
"src",
"flow-typed",
"windows",
"RNDateTimePicker.podspec"
],
"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 ./test",
"posttest": "npm run lint",
"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": "detox test -c ios.sim.debug",
"detox:ios:build:release": "detox build -c ios.sim.release",
"detox:ios:test:release": "detox test -c ios.sim.release",
"detox:android:build:debug": "detox build -c android.emu.debug",
"detox:android:test:debug": "detox test -c android.emu.debug",
"detox:android:build:release": "detox build -c android.emu.release",
"detox:android:test:release": "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.5.5",
"@babel/runtime": "^7.5.5",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-community/segmented-control": "^2.1.0",
"@semantic-release/git": "^9.0.0",
"@testing-library/react-native": "^7.0.1",
"babel-jest": "^26.0.1",
"detox": "16.9.2",
"eslint": "^7.6.0",
"eslint-plugin-prettier": "^3.1.2",
"flow-bin": "^0.113.0",
"flow-typed": "^3.1.0",
"jest": "^26.0.1",
"jest-circus": "^26.0.1",
"metro-react-native-babel-preset": "^0.58.0",
"moment": "^2.24.0",
"prettier": "^2.0.5",
"react": "16.11.0",
"react-native": "^0.62.2",
"react-native-windows": "^0.62.0-0",
"react-test-renderer": "16.11.0",
"semantic-release": "^17.1.1"
},
"peerDependencies": {
"react": ">=16.8.3",
"react-native": ">=0.60",
"react-native-windows": ">=0.62"
},
"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": "TestingAVD"
}
},
"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"
}
}
}
}
}