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