Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
141 lines (141 loc) · 3.96 KB
/
Copy pathpackage.json
File metadata and controls
141 lines (141 loc) · 3.96 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
135
136
137
138
139
140
141
{
"name": "react-native-pager-view",
"version": "9.0.8",
"description": "React Native wrapper for Android and iOS ViewPager",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"*.podspec",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!android/src/test",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"packageManager": "bun@1.4.2",
"workspaces": [
"example",
"e2e"
],
"scripts": {
"test": "jest",
"typecheck": "tsc",
"lint": "eslint .",
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
"format:check": "prettier --check \"**/*.{js,ts,tsx}\"",
"prepare": "bob build",
"release": "release-it",
"release:next": "release-it --npm.tag=next --preRelease=rc",
"bootstrap": "bun install && bun run --cwd example pods",
"example:start": "cd example; bun start",
"example:android": "cd example; bun android",
"example:ios": "cd example; bun ios",
"example:android:release": "cd example;react-native run-android --mode \"Release\" --appId com.pagerviewexample --active-arch-only",
"example:ios:release": "cd example;react-native run-ios --mode \"Release\"",
"e2e:test:ios": "cd e2e; bun run test:ios",
"e2e:test:android": "cd e2e; bun run test:android",
"e2e:ios": "bun run --cwd example build:ios && bun run example:ios:release && bun run e2e:test:ios",
"e2e:android": "bun run --cwd example build:android && bun run example:android:release && bun run e2e:test:android"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": "https://github.com/callstack/react-native-pager-view",
"author": "troZee <hello@callstack.com> (https://github.com/callstack)",
"license": "MIT",
"bugs": {
"url": "https://github.com/callstack/react-native-pager-view/issues"
},
"homepage": "https://github.com/callstack/react-native-pager-view#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@react-native/babel-preset": "0.87.1",
"@react-native/eslint-config": "0.87.1",
"@react-native/jest-preset": "0.87.1",
"@release-it/conventional-changelog": "^2.0.0",
"@types/jest": "^29.5.13",
"@types/react": "^19.2.0",
"@typescript/native": "npm:typescript@^7.0.2",
"eslint": "^9.39.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react": "19.2.3",
"react-native": "0.87.1",
"react-native-builder-bob": "^0.43.1",
"release-it": "^14.2.2",
"typescript": "npm:@typescript/typescript6@^6.0.2"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"jest": {
"preset": "@react-native/jest-preset",
"transformIgnorePatterns": [
"node_modules/(?!\\.pnpm|((jest-)?react-native|@react-native(-community)?)/)"
],
"modulePathIgnorePatterns": [
"<rootDir>/example/",
"<rootDir>/e2e/",
"<rootDir>/lib/"
]
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"codegenConfig": {
"name": "pagerview",
"type": "components",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "com.reactnativepagerview"
},
"ios": {
"components": {
"RNCViewPager": {
"className": "RNCPagerViewComponentView"
}
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json",
"tsc": "node_modules/@typescript/native/bin/tsc"
}
]
]
},
"overrides": {
"eslint-plugin-ft-flow": "^3.0.11",
"react-native-pager-view": "link:."
}
}