UNPKG

@react-native-community/viewpager

Version:

React Native wrapper for Android and iOS ViewPager

126 lines (125 loc) 3.05 kB
{ "name": "@react-native-community/viewpager", "version": "5.0.11", "description": "React Native wrapper for Android and iOS ViewPager", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "react-native-viewpager.podspec", "!lib/typescript/example", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!android/build", "!ios/build" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "release": "release-it", "example": "yarn --cwd example", "pods": "cd example && pod-install --quiet", "bootstrap": "yarn example && yarn && yarn pods" }, "keywords": [ "react-native", "ios", "android" ], "repository": "https://github.com/callstack/react-native-viewpager", "author": "troZee <hello@callstack.com> (https://github.com/callstack)", "license": "MIT", "bugs": { "url": "https://github.com/callstack/react-native-viewpager/issues" }, "homepage": "https://github.com/callstack/react-native-viewpager#readme", "devDependencies": { "@commitlint/config-conventional": "^8.3.4", "@react-native-community/eslint-config": "^2.0.0", "@release-it/conventional-changelog": "^1.1.4", "@types/jest": "^26.0.0", "@types/react": "^17.0.0", "@types/react-native": "0.63.37", "commitlint": "^8.3.5", "eslint": "^7.2.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.3", "husky": "^4.2.5", "jest": "^26.0.1", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "16.13.1", "react-native": "0.63.4", "react-native-builder-bob": "^0.17.1", "release-it": "^13.5.8", "typescript": "^3.8.3" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "husky": { "hooks": { "pre-commit": "yarn lint && yarn typescript" } }, "eslintConfig": { "root": true, "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 }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] } }