forked from mateusz1913/react-native-avoid-softinput
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 4.91 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 4.91 KB
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
{
"private": true,
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/react",
"**/react-dom",
"**/react-native",
"**/react-native/**",
"**/@gorhom/bottom-sheet",
"**/react-native-gesture-handler",
"**/react-native-reanimated"
]
},
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
"lint:js": "eslint \"**/*.{js,ts,tsx}\"",
"lint:android": "./packages/react-native-avoid-softinput/android/gradlew -p packages/react-native-avoid-softinput/android spotlessCheck --quiet",
"lint:ios:swift": "swiftlint lint --config ./packages/mobile/ios/.swiftlint.yml --quiet",
"lint:ios:objc": "clang-format --dry-run -i ./packages/react-native-avoid-softinput/ios/*.{h,m,mm} ./packages/mobile/ios/AvoidSoftinputExample/*.{h,m}",
"lint:fabric:ios:swift": "swiftlint lint --config ./packages/fabricMobile/ios/.swiftlint.yml --quiet",
"lint:fabric:ios:objc": "clang-format --dry-run -i ./packages/react-native-avoid-softinput/ios/*.{h,m,mm} ./packages/fabricMobile/ios/FabricAvoidSoftinputExample/*.{h,m,mm}",
"format:android": "./packages/react-native-avoid-softinput/android/gradlew -p packages/react-native-avoid-softinput/android spotlessApply",
"format:ios:swift": "swiftformat ./packages/react-native-avoid-softinput/ios ./packages/mobile/ios --config ./packages/mobile/ios/.swiftformat",
"format:ios:objc": "clang-format -i ./packages/react-native-avoid-softinput/ios/*.{h,m,mm} ./packages/mobile/ios/AvoidSoftinputExample/*.{h,m}",
"format:fabric:ios:swift": "swiftformat ./packages/react-native-avoid-softinput/ios ./packages/fabricMobile/ios --config ./packages/fabricMobile/ios/.swiftformat",
"format:fabric:ios:objc": "clang-format -i ./packages/react-native-avoid-softinput/ios/*.{h,m,mm} ./packages/fabricMobile/ios/FabricAvoidSoftinputExample/*.{h,m,mm}",
"prepare": "yarn --cwd packages/react-native-avoid-softinput bob build",
"release": "yarn --cwd packages/react-native-avoid-softinput release-it",
"example:mobile": "yarn --cwd packages/mobile",
"example:fabricMobile": "yarn --cwd packages/fabricMobile",
"bootstrap": "yarn bootstrap:mobile && yarn bootstrap:fabricMobile",
"bootstrap:mobile": "yarn example:mobile && yarn && yarn pods:mobile",
"bootstrap:fabricMobile": "yarn example:fabricMobile && yarn && yarn pods:fabricMobile",
"pods:mobile": "pod-install packages/mobile/ios --quiet",
"pods:fabricMobile": "RCT_NEW_ARCH_ENABLED=1 pod-install packages/fabricMobile/ios --quiet",
"reset": "yarn reset:node_modules && yarn reset:pods",
"reset:node_modules": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock",
"reset:pods": "find . -type dir -name Pods | xargs rm -rf && find . -type f -name Podfile.lock | xargs rm -rf",
"android:metro": "yarn workspace @avoid-softinput-example/mobile start",
"android:start": "yarn workspace @avoid-softinput-example/mobile android",
"android:studio": "yarn workspace @avoid-softinput-example/mobile studio",
"ios:metro": "yarn workspace @avoid-softinput-example/mobile start",
"ios:start": "yarn workspace @avoid-softinput-example/mobile ios",
"ios:xcode": "yarn workspace @avoid-softinput-example/mobile xcode",
"fabric:android:metro": "yarn workspace @avoid-softinput-example/fabric-mobile start",
"fabric:android:start": "yarn workspace @avoid-softinput-example/fabric-mobile android",
"fabric:android:studio": "yarn workspace @avoid-softinput-example/fabric-mobile studio",
"fabric:ios:metro": "yarn workspace @avoid-softinput-example/fabric-mobile start",
"fabric:ios:start": "yarn workspace @avoid-softinput-example/fabric-mobile ios",
"fabric:ios:xcode": "yarn workspace @avoid-softinput-example/fabric-mobile xcode",
"docs:start": "yarn --cwd docs start --host 0.0.0.0",
"docs:build": "yarn --cwd docs build",
"docs:clear": "yarn --cwd docs clear"
},
"repository": "https://github.com/mateusz1913/react-native-avoid-softinput",
"author": "Mateusz Mędrek <luigimario1913@gmail.com> (https://github.com/mateusz1913)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mateusz1913/react-native-avoid-softinput/issues"
},
"homepage": "https://github.com/mateusz1913/react-native-avoid-softinput#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "13.1.0",
"@evilmartians/lefthook": "1.1.1",
"@typescript-eslint/eslint-plugin": "4.31.2",
"@typescript-eslint/parser": "4.31.2",
"commitlint": "13.1.0",
"eslint": "7.32.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-react": "7.26.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react-native": "^3.11.0",
"pod-install": "0.1.27",
"typescript": "4.4.3"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}