UNPKG

react-native-pager-view

Version:
146 lines (145 loc) 3.88 kB
{ "name": "react-native-pager-view", "version": "6.3.3", "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", "common", "react-native-pager-view.podspec", "!lib/typescript/example", "!android/build", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "release": "release-it", "releaseNext": "release-it --npm.tag=next --preRelease=rc", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn && yarn example pods", "bootstrap-no-pods": "yarn example && yarn", "bootstrap-fabric": "yarn example && yarn && yarn example pods-fabric", "test:e2e:android": "bash ./scripts/run-maestro-tests.sh android", "run-example-android": "cd example;react-native run-android --mode \"Release\"", "run-example-ios": "cd example;react-native run-ios --mode \"Release\" --simulator \"iPhone 13 (15.2)\"", "test:e2e:ios": "bash ./scripts/run-maestro-tests.sh ios" }, "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": { "@babel/eslint-parser": "^7.18.2", "@react-native/eslint-config": "^0.72.2", "@react-native/metro-config": "^0.72.11", "@release-it/conventional-changelog": "^2.0.0", "@tsconfig/react-native": "^3.0.0", "@types/jest": "^28.1.2", "@types/react": "18.0.29", "@types/react-native": "0.70.0", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.1", "eslint-plugin-prettier": "^4.0.0", "jest": "^28.1.1", "metro-react-native-babel-preset": "0.76.8", "pod-install": "^0.1.0", "prettier": "^2.4.1", "react": "18.2.0", "react-native": "0.72.5", "react-native-builder-bob": "^0.18.3", "release-it": "^14.2.2", "typescript": "^4.5.2" }, "resolutions": { "@types/react": "18.0.29" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "eslintConfig": { "root": true, "parser": "@babel/eslint-parser", "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "codegenConfig": { "name": "pagerview", "type": "all", "jsSrcsDir": "./src/specs", "android": { "javaPackageName": "com.reactnativepagerview" } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }