UNPKG

3.05 kBJSONView Raw
1{
2 "name": "@react-native-community/viewpager",
3 "version": "5.0.11",
4 "description": "React Native wrapper for Android and iOS ViewPager",
5 "main": "lib/commonjs/index",
6 "module": "lib/module/index",
7 "types": "lib/typescript/src/index.d.ts",
8 "react-native": "src/index",
9 "source": "src/index",
10 "files": [
11 "src",
12 "lib",
13 "android",
14 "ios",
15 "cpp",
16 "react-native-viewpager.podspec",
17 "!lib/typescript/example",
18 "!**/__tests__",
19 "!**/__fixtures__",
20 "!**/__mocks__",
21 "!android/build",
22 "!ios/build"
23 ],
24 "scripts": {
25 "test": "jest",
26 "typescript": "tsc --noEmit",
27 "lint": "eslint \"**/*.{js,ts,tsx}\"",
28 "prepare": "bob build",
29 "release": "release-it",
30 "example": "yarn --cwd example",
31 "pods": "cd example && pod-install --quiet",
32 "bootstrap": "yarn example && yarn && yarn pods"
33 },
34 "keywords": [
35 "react-native",
36 "ios",
37 "android"
38 ],
39 "repository": "https://github.com/callstack/react-native-viewpager",
40 "author": "troZee <hello@callstack.com> (https://github.com/callstack)",
41 "license": "MIT",
42 "bugs": {
43 "url": "https://github.com/callstack/react-native-viewpager/issues"
44 },
45 "homepage": "https://github.com/callstack/react-native-viewpager#readme",
46 "devDependencies": {
47 "@commitlint/config-conventional": "^8.3.4",
48 "@react-native-community/eslint-config": "^2.0.0",
49 "@release-it/conventional-changelog": "^1.1.4",
50 "@types/jest": "^26.0.0",
51 "@types/react": "^17.0.0",
52 "@types/react-native": "0.63.37",
53 "commitlint": "^8.3.5",
54 "eslint": "^7.2.0",
55 "eslint-config-prettier": "^6.11.0",
56 "eslint-plugin-prettier": "^3.1.3",
57 "husky": "^4.2.5",
58 "jest": "^26.0.1",
59 "pod-install": "^0.1.0",
60 "prettier": "^2.0.5",
61 "react": "16.13.1",
62 "react-native": "0.63.4",
63 "react-native-builder-bob": "^0.17.1",
64 "release-it": "^13.5.8",
65 "typescript": "^3.8.3"
66 },
67 "publishConfig": {
68 "registry": "https://registry.npmjs.org/"
69 },
70 "peerDependencies": {
71 "react": "*",
72 "react-native": "*"
73 },
74 "jest": {
75 "preset": "react-native",
76 "modulePathIgnorePatterns": [
77 "<rootDir>/example/node_modules",
78 "<rootDir>/lib/"
79 ]
80 },
81 "husky": {
82 "hooks": {
83 "pre-commit": "yarn lint && yarn typescript"
84 }
85 },
86 "eslintConfig": {
87 "root": true,
88 "extends": [
89 "@react-native-community",
90 "prettier"
91 ],
92 "rules": {
93 "prettier/prettier": [
94 "error",
95 {
96 "quoteProps": "consistent",
97 "singleQuote": true,
98 "tabWidth": 2,
99 "trailingComma": "es5",
100 "useTabs": false
101 }
102 ]
103 }
104 },
105 "eslintIgnore": [
106 "node_modules/",
107 "lib/"
108 ],
109 "prettier": {
110 "quoteProps": "consistent",
111 "singleQuote": true,
112 "tabWidth": 2,
113 "trailingComma": "es5",
114 "useTabs": false
115 },
116 "react-native-builder-bob": {
117 "source": "src",
118 "output": "lib",
119 "targets": [
120 "commonjs",
121 "module",
122 "typescript"
123 ]
124 }
125}