Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 3.73 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 3.73 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
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
{
"name": "@swmansion/react-native-bottom-sheet",
"version": "0.17.0-next.2",
"description": "Provides bottom-sheet components for React Native.",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"source": "./src/index.tsx",
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
"./package.json": "./package.json"
},
"files": [
"src",
"lib",
"android",
"ios",
"common",
"cpp",
"*.podspec",
"react-native.config.js",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!android/src/androidTest",
"!android/src/test",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"example": "bun run --filter @swmansion/react-native-bottom-sheet-example",
"clean": "del-cli lib",
"prepare": "lefthook install && bob build",
"test:android": "bun run test:android:prepare && bun run test:android:unit",
"test:android:prepare": "bun run --cwd example expo prebuild --platform android --no-install",
"test:android:instrumented:assemble": "./example/android/gradlew --project-dir example/android :swmansion_react-native-bottom-sheet:assembleDebugAndroidTest",
"test:android:instrumented": "./example/android/gradlew --project-dir example/android :swmansion_react-native-bottom-sheet:connectedDebugAndroidTest",
"test:android:unit": "./example/android/gradlew --project-dir example/android :swmansion_react-native-bottom-sheet:testDebugUnitTest",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\""
},
"keywords": [
"react-native",
"android",
"ios"
],
"repository": {
"type": "git",
"url": "git+https://github.com/software-mansion-labs/react-native-bottom-sheet.git"
},
"author": "Software Mansion",
"license": "MIT",
"bugs": {
"url": "https://github.com/software-mansion-labs/react-native-bottom-sheet/issues"
},
"homepage": "https://github.com/software-mansion-labs/react-native-bottom-sheet",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"@eslint/compat": "2.1.0",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "9.39.4",
"@react-native/babel-preset": "0.85.3",
"@react-native/eslint-config": "0.85.3",
"@types/react": "19.2.15",
"babel-plugin-react-compiler": "1.0.0",
"del-cli": "6.0.0",
"eslint": "9.39.4",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.6",
"lefthook": "2.1.9",
"prettier": "3.8.3",
"react": "19.2.3",
"react-native": "0.85.3",
"react-native-builder-bob": "0.41.0",
"typescript": "5.9.3"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-native": ">=0.76.0"
},
"workspaces": [
"example"
],
"packageManager": "bun@1.3.14",
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "ReactNativeBottomSheetSpec",
"type": "all",
"jsSrcsDir": "src",
"ios": {
"componentProvider": {
"BottomSheetView": "BottomSheetComponentView",
"BottomSheetSurfaceView": "BottomSheetSurfaceComponentView"
}
},
"android": {
"javaPackageName": "com.swmansion.reactnativebottomsheet"
}
},
"prettier": {
"proseWrap": "always",
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
}