1 | {
|
2 | "name": "react-native-screens",
|
3 | "version": "3.32.0",
|
4 | "description": "Native navigation primitives for your React Native app.",
|
5 | "scripts": {
|
6 | "submodules": "git submodule update --init --recursive && (cd react-navigation && yarn)",
|
7 | "check-types": "tsc --noEmit",
|
8 | "start": "react-native start",
|
9 | "test:unit": "jest --passWithNoTests",
|
10 | "format-js": "prettier --write --list-different './{src,Example}/**/*.{js,ts,tsx}'",
|
11 | "format-android": "node ./scripts/format-android.js",
|
12 | "format-ios": "find ios/ -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.cpp\" -o -iname \"*.mm\" | xargs clang-format -i",
|
13 | "format-common": "find common/ -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
14 | "format-cpp": "find cpp/ -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
15 | "format-android-cpp": "find android/src/main/cpp -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
16 | "format": "yarn format-js && yarn format-android && yarn format-ios && yarn format-common && yarn format-cpp && yarn format-android-cpp",
|
17 | "lint-js": "eslint --ext '.js,.ts,.tsx' --fix src",
|
18 | "lint-android": "./android/gradlew -p android spotlessCheck -q",
|
19 | "lint": "yarn lint-js && yarn lint-android",
|
20 | "release": "yarn prepare && npm login && release-it",
|
21 | "prepare": "bob build && husky install"
|
22 | },
|
23 | "main": "lib/commonjs/index",
|
24 | "module": "lib/module/index",
|
25 | "react-native": "src/index",
|
26 | "source": "src/index",
|
27 | "types": "lib/typescript/index.d.ts",
|
28 | "files": [
|
29 | "src/",
|
30 | "common/",
|
31 | "lib/",
|
32 | "native-stack/",
|
33 | "gesture-handler/",
|
34 | "reanimated/",
|
35 | "android/src/main/AndroidManifest.xml",
|
36 | "android/src/main/java/",
|
37 | "android/src/main/cpp/",
|
38 | "android/src/main/jni/",
|
39 | "android/src/main/res",
|
40 | "android/src/fabric/",
|
41 | "android/src/paper/",
|
42 | "android/build.gradle",
|
43 | "android/CMakeLists.txt",
|
44 | "ios/",
|
45 | "cpp/",
|
46 | "windows/",
|
47 | "RNScreens.podspec",
|
48 | "react-native.config.js",
|
49 | "README.md",
|
50 | "!**/__tests__",
|
51 | "!android/src/main/java/com/swmansion/rnscreens/LifecycleHelper.kt"
|
52 | ],
|
53 | "repository": {
|
54 | "type": "git",
|
55 | "url": "git+https://github.com/software-mansion/react-native-screens.git"
|
56 | },
|
57 | "author": {
|
58 | "email": "krzys.magiera@gmail.com",
|
59 | "name": "Krzysztof Magiera"
|
60 | },
|
61 | "license": "MIT",
|
62 | "readmeFilename": "README.md",
|
63 | "bugs": {
|
64 | "url": "https://github.com/software-mansion/react-native-screens/issues"
|
65 | },
|
66 | "homepage": "https://github.com/software-mansion/react-native-screens#readme",
|
67 | "dependencies": {
|
68 | "react-freeze": "^1.0.0",
|
69 | "warn-once": "^0.1.0"
|
70 | },
|
71 | "peerDependencies": {
|
72 | "react": "*",
|
73 | "react-native": "*"
|
74 | },
|
75 | "devDependencies": {
|
76 | "@babel/core": "^7.20.0",
|
77 | "@babel/eslint-parser": "7.22.15",
|
78 | "@react-native-community/cli": "^11.3.6",
|
79 | "@react-native-community/cli-platform-android": "^11.3.6",
|
80 | "@react-native-community/cli-platform-ios": "^11.3.6",
|
81 | "@react-navigation/native": "^5.8.0",
|
82 | "@react-navigation/stack": "^5.10.0",
|
83 | "@types/jest": "^29.3.1",
|
84 | "@types/react": "^18.2.72",
|
85 | "@types/react-test-renderer": "^18.0.0",
|
86 | "@typescript-eslint/eslint-plugin": "^6.5.0",
|
87 | "@typescript-eslint/parser": "^6.5.0",
|
88 | "babel-jest": "^29.6.4",
|
89 | "clang-format": "^1.8.0",
|
90 | "eslint": "^8.19.0",
|
91 | "eslint-config-prettier": "^8.10.0",
|
92 | "eslint-config-standard": "^17.1.0",
|
93 | "eslint-plugin-import": "^2.28.1",
|
94 | "eslint-plugin-jest": "^27.2.3",
|
95 | "eslint-plugin-n": "^16.0.2",
|
96 | "eslint-plugin-promise": "^6.1.1",
|
97 | "eslint-plugin-react": "^7.33.2",
|
98 | "eslint-plugin-react-hooks": "^4.6.0",
|
99 | "eslint-plugin-react-native": "^4.0.0",
|
100 | "husky": "^8.0.3",
|
101 | "jest": "^29.3.1",
|
102 | "lint-staged": "^14.0.1",
|
103 | "metro-react-native-babel-preset": "^0.76.8",
|
104 | "prettier": "^2.8.8",
|
105 | "react": "18.2.0",
|
106 | "react-dom": "^18.2.0",
|
107 | "react-native": "0.72.4",
|
108 | "react-native-builder-bob": "^0.23.2",
|
109 | "react-native-gesture-handler": "^2.13.3",
|
110 | "react-native-reanimated": "3.9.0-nightly-20240402-12717cdb5",
|
111 | "react-native-safe-area-context": "^4.8.1",
|
112 | "react-native-windows": "^0.64.8",
|
113 | "react-test-renderer": "^18.2.0",
|
114 | "release-it": "^15.6.0",
|
115 | "typescript": "5.4.3"
|
116 | },
|
117 | "resolutions": {
|
118 | "@react-native-community/cli-platform-android": "^11.3.6",
|
119 | "@react-native-community/cli": "^11.3.6",
|
120 | "@react-native-community/cli-platform-ios": "^11.3.6",
|
121 | "@types/react": "^18.2.72"
|
122 | },
|
123 | "lint-staged": {
|
124 | "{src,Example}/**/*.{js,ts,tsx}": "yarn format-js",
|
125 | "src/**/*.{js,ts,tsx}": "yarn lint-js",
|
126 | "common/**/*.{h,cpp}": "yarn format-common",
|
127 | "cpp/**/*.{h,cpp}": "yarn format-cpp",
|
128 | "android/src/main/cpp/.{cpp, h}": "yarn format-android-cpp",
|
129 | "android/**/*.kt": "yarn format-android",
|
130 | "ios/**/*.{h,m,mm,cpp}": "yarn format-ios"
|
131 | },
|
132 | "react-native-builder-bob": {
|
133 | "source": "src",
|
134 | "output": "lib",
|
135 | "targets": [
|
136 | "commonjs",
|
137 | "module",
|
138 | [
|
139 | "typescript",
|
140 | {
|
141 | "project": "tsconfig.build.json"
|
142 | }
|
143 | ]
|
144 | ]
|
145 | },
|
146 | "eslintIgnore": [
|
147 | "node_modules/",
|
148 | "lib/"
|
149 | ],
|
150 | "codegenConfig": {
|
151 | "name": "rnscreens",
|
152 | "type": "all",
|
153 | "jsSrcsDir": "./src/fabric",
|
154 | "android": {
|
155 | "javaPackageName": "com.swmansion.rnscreens"
|
156 | }
|
157 | },
|
158 | "packageManager": "yarn@4.1.1"
|
159 | }
|