UNPKG

@tkow/react-native-modal

Version:
128 lines (127 loc) 4.39 kB
{ "name": "@tkow/react-native-modal", "version": "14.0.1", "description": "An enhanced React Native modal", "packageManager": "yarn@3.6.3", "main": "dist/index.js", "types": "dist/index.d.ts", "react-native": "src/index.ts", "files": [ "dist/", "src" ], "scripts": { "lint": "eslint \"src/**/*.{ts, tsx}\"", "test": "yarn run test:ts && yarn run lint", "build": "tsc", "dev": "tsc --watch", "test:ts": "tsc --noEmit", "build:e2e:android:debug": "detox build -c android.emu.debug", "build:e2e:android:release": "detox build -c android.emu.release", "test:e2e:android:debug": "detox test -c android.emu.debug", "test:e2e:android:release": "detox test -c android.emu.release", "build:e2e:ios:debug": "detox build -c ios.sim.debug", "build:e2e:ios:release": "detox build -c ios.sim.release", "test:e2e:ios:debug": "detox test -c ios.sim.debug", "test:e2e:ios:release": "detox test -c ios.sim.release" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "keywords": [ "react-native", "react", "native", "modal", "android", "ios", "backdrop", "simple", "animated" ], "author": "Mazzarolo Matteo", "license": "MIT", "homepage": "https://github.com/tkow/react-native-modal", "repository": { "type": "git", "url": "https://github.com/tkow/react-native-modal" }, "dependencies": { "prop-types": "^15.6.2", "react-native-animatable": "1.4.0" }, "devDependencies": { "@babel/core": "^7.5.5", "@babel/runtime": "^7.6.3", "@changesets/cli": "^2.26.2", "@react-native-community/eslint-config": "^3.2.0", "@types/jest": "^29.5.6", "@types/react": "^18.2.33", "@types/react-native": "^0.72.5", "@typescript-eslint/eslint-plugin": "^6.9.1", "@typescript-eslint/parser": "^6.9.1", "babel-core": "7.0.0-bridge.0", "babel-jest": "^29.7.0", "babel-plugin-module-resolver": "3.1.3", "detox": "^20.13.3", "eslint": "^8.52.0", "eslint-plugin-jest": "^27.6.0", "eslint-plugin-prettier": "^5.0.1", "husky": "^3.0.9", "jest": "^29.7.0", "lint-staged": "^15.0.2", "metro-react-native-babel-preset": "^0.77.0", "postinstall": "^0.5.1", "prettier": "^3.0.3", "react": "^18.2.0", "react-native": "^0.72.6", "react-test-renderer": "^18.2.0", "typescript": "^5.2.2" }, "peerDependencies": { "react": "*", "react-native": ">=0.70.0" }, "jest": { "preset": "react-native" }, "detox": { "runner-config": "example/e2e/config.json", "configurations": { "ios.sim.debug": { "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/ModalExample.app", "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/ModalExample.xcworkspace -scheme ModalExample -configuration Debug -sdk iphonesimulator -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k", "type": "ios.simulator", "device": { "type": "iPhone 8" } }, "ios.sim.release": { "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/ModalExample.app", "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/ModalExample.xcworkspace -scheme ModalExample -configuration Release -sdk iphonesimulator -derivedDataPath example/ios/build -UseModernBuildSystem=YES | xcpretty -k", "type": "ios.simulator", "device": { "type": "iPhone 8" } }, "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": "Pixel_2_API_28" }, "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": "Pixel_2_API_28" } }, "test-runner": "jest" }, "lint-staged": { "*.{ts,tsx}": "prettier --write" } }