UNPKG

4.29 kBJSONView Raw
1{
2 "name": "react-native-modal",
3 "version": "11.5.5",
4 "description": "An enhanced React Native modal",
5 "main": "dist/index.js",
6 "types": "dist/index.d.ts",
7 "files": [
8 "dist/"
9 ],
10 "scripts": {
11 "lint": "eslint \"src/**/*.{ts, tsx}\"",
12 "test": "yarn run test:ts && yarn run lint",
13 "release": "yarn semantic-release",
14 "build": "tsc",
15 "dev": "tsc --watch",
16 "test:ts": "tsc --noEmit",
17 "build:e2e:android:debug": "detox build -c android.emu.debug",
18 "build:e2e:android:release": "detox build -c android.emu.release",
19 "test:e2e:android:debug": "detox test -c android.emu.debug",
20 "test:e2e:android:release": "detox test -c android.emu.release",
21 "build:e2e:ios:debug": "detox build -c ios.sim.debug",
22 "build:e2e:ios:release": "detox build -c ios.sim.release",
23 "test:e2e:ios:debug": "detox test -c ios.sim.debug",
24 "test:e2e:ios:release": "detox test -c ios.sim.release"
25 },
26 "husky": {
27 "hooks": {
28 "pre-commit": "pretty-quick --staged"
29 }
30 },
31 "keywords": [
32 "react-native",
33 "react",
34 "native",
35 "modal",
36 "android",
37 "ios",
38 "backdrop",
39 "simple",
40 "animated"
41 ],
42 "author": "Mazzarolo Matteo",
43 "license": "MIT",
44 "homepage": "https://github.com/react-native-community/react-native-modal",
45 "repository": {
46 "type": "git",
47 "url": "https://github.com/react-native-community/react-native-modal"
48 },
49 "dependencies": {
50 "prop-types": "^15.6.2",
51 "react-native-animatable": "1.3.3"
52 },
53 "devDependencies": {
54 "@babel/core": "^7.5.5",
55 "@babel/runtime": "^7.6.3",
56 "@react-native-community/eslint-config": "^0.0.5",
57 "@semantic-release/git": "^7.0.8",
58 "@types/react": "^16.9.9",
59 "@types/react-native": "^0.60.21",
60 "@typescript-eslint/eslint-plugin": "^2.4.0",
61 "@typescript-eslint/parser": "^2.4.0",
62 "babel-core": "7.0.0-bridge.0",
63 "babel-jest": "^24.9.0",
64 "babel-plugin-module-resolver": "3.1.3",
65 "detox": "14.7.0",
66 "eslint": "^6.5.1",
67 "eslint-plugin-prettier": "^3.1.1",
68 "husky": "^3.0.9",
69 "jest": "^24.9.0",
70 "metro-react-native-babel-preset": "0.56.0",
71 "postinstall": "^0.5.1",
72 "prettier": "^1.18.2",
73 "pretty-quick": "^2.0.0",
74 "react": "16.9.0",
75 "react-native": "0.61.0",
76 "react-test-renderer": "16.8.6",
77 "semantic-release": "15.13.24",
78 "typescript": "3.7.2"
79 },
80 "peerDependencies": {
81 "react": "*",
82 "react-native": "*"
83 },
84 "jest": {
85 "preset": "react-native"
86 },
87 "detox": {
88 "runner-config": "example/e2e/config.json",
89 "configurations": {
90 "ios.sim.debug": {
91 "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/ModalExample.app",
92 "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",
93 "type": "ios.simulator",
94 "device": {
95 "type": "iPhone 8"
96 }
97 },
98 "ios.sim.release": {
99 "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/ModalExample.app",
100 "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",
101 "type": "ios.simulator",
102 "device": {
103 "type": "iPhone 8"
104 }
105 },
106 "android.emu.debug": {
107 "binaryPath": "example/android/app/build/outputs/apk/debug/app-debug.apk",
108 "build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
109 "type": "android.emulator",
110 "name": "Pixel_2_API_28"
111 },
112 "android.emu.release": {
113 "binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk",
114 "build": "export RCT_NO_LAUNCH_PACKAGER=true && pushd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
115 "type": "android.emulator",
116 "name": "Pixel_2_API_28"
117 }
118 },
119 "test-runner": "jest"
120 }
121}