forked from software-mansion/react-native-screens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
153 lines (153 loc) · 4.65 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
{
"name": "react-native-screens",
"version": "3.18.2",
"description": "Native navigation primitives for your React Native app.",
"scripts": {
"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": "yarn format-js && yarn format-android && yarn format-ios",
"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": "npm login && release-it",
"prepare": "bob build && husky install",
"postinstall": "patch-package"
},
"main": "lib/commonjs/index",
"module": "lib/module/index",
"react-native": "src/index",
"source": "src/index",
"types": "lib/typescript/index",
"files": [
"src/",
"common/",
"lib/",
"native-stack/",
"createNativeStackNavigator/",
"reanimated/",
"android/src/main/AndroidManifest.xml",
"android/src/main/java/",
"android/src/main/jni/",
"android/src/main/res",
"android/src/fabric/",
"android/src/paper/",
"android/build.gradle",
"ios/",
"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.11.0",
"@react-native-community/bob": "^0.17.1",
"@react-navigation/native": "^5.8.0",
"@react-navigation/stack": "^5.10.0",
"@types/jest": "^26.0.8",
"@types/react": "^18.0.24",
"@types/react-test-renderer": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@react-native-community/cli": "^9.0.0",
"@react-native-community/cli-platform-android": "^9.0.0",
"@react-native-community/cli-platform-ios": "^9.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.2.2",
"clang-format": "^1.5.0",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react-native": "^3.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^7.0.1",
"jest": "^26.2.2",
"jest-react-native": "18.0.0",
"lint-staged": "^11.1.2",
"metro-react-native-babel-preset": "^0.61.0",
"prettier": "^2.0.4",
"react": "18.2.0",
"react-dom": "^16.13.1",
"react-native": "0.71.0",
"react-native-reanimated": "^2.2.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-windows": "^0.64.8",
"react-navigation": "^4.4.3",
"react-navigation-stack": "^2.9.0",
"react-test-renderer": "^16.13.1",
"release-it": "^13.5.2",
"patch-package": "6.5.1",
"typescript": "4.8.4"
},
"resolutions": {
"@react-native-community/cli-platform-android": "^9.0.0",
"@react-native-community/cli": "^9.0.0",
"@react-native-community/cli-platform-ios": "^9.0.0",
"@types/react": "^18.0.24"
},
"lint-staged": {
"{src,Example}/**/*.{js,ts,tsx}": "yarn format-js",
"src/**/*.{js,ts,tsx}": "yarn lint-js",
"android/**/*.kt": "yarn format-android",
"ios/**/*.{h,m,mm,cpp}": "yarn format-ios"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"codegenConfig": {
"name": "rnscreens",
"type": "components",
"jsSrcsDir": "./src/fabric",
"android": {
"javaPackageName": "com.swmansion.rnscreens"
}
}
}