UNPKG

react-native-modalize-x2

Version:

A highly customizable modal/bottom sheet that loves scrolling content.

90 lines (89 loc) 2.81 kB
{ "name": "react-native-modalize-x2", "version": "2.1.7", "description": "A highly customizable modal/bottom sheet that loves scrolling content.", "main": "lib/index.js", "types": "./lib/index.d.ts", "scripts": { "build": "rm -rf ./lib/* && yarn lint && tsc", "prepare": "yarn tsc", "lint": "eslint 'src/**/*.ts?(x)' && prettier --list-different \"**/*.{json,md,js,jsx,ts,tsx}\"", "prettier": "prettier --write \"{docs,examples,src}/**/*.{json,md,js,jsx,ts,tsx}\"", "postversion": "sh ./post-version.sh", "watch:modalize": "yarn tsc --watch", "watch:expo": "concurrently \"yarn watch:modalize\" \"yarn cpx 'src/**/*' 'examples/expo/node_modules/react-native-modalize' --watch\"", "watch:react-native-navigation": "concurrently \"yarn watch:modalize\" \"yarn cpx 'src/**/*' 'examples/react-native-navigation/node_modules/react-native-modalize' --watch\"", "watch:react-navigation": "concurrently \"yarn watch:modalize\" \"yarn cpx 'src/**/*' 'examples/react-navigation/node_modules/react-native-modalize' --watch\"" }, "keywords": [ "react-native", "react", "native", "modal", "bottom sheet", "bottom", "sheet", "scrollView", "flatList", "sectionList", "scroll", "swipe", "keyboard", "snap", "android", "ios" ], "author": "Jérémy Barbet", "license": "MIT", "homepage": "https://github.com/jeremybarbet/react-native-modalize", "repository": { "type": "git", "url": "https://github.com/jeremybarbet/react-native-modalize" }, "lint-staged": { "*.{ts,tsx,js,jsx,json,md}": [ "prettier --write" ], "*.{ts,tsx}": [ "eslint --fix" ] }, "prettier": { "singleQuote": true, "trailingComma": "all", "printWidth": 100, "arrowParens": "avoid", "semi": true }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "devDependencies": { "@commitlint/cli": "9.1.2", "@commitlint/config-conventional": "9.1.2", "@types/react": "17.0.29", "@types/react-native": "0.65.6", "@typescript-eslint/eslint-plugin": "3.10.1", "@typescript-eslint/parser": "3.10.1", "concurrently": "5.3.0", "cpx": "1.5.0", "eslint": "7.14.0", "eslint-config-prettier": "6.15.0", "eslint-plugin-react": "7.21.5", "eslint-plugin-react-native": "3.10.0", "husky": "4.3.0", "lint-staged": "10.5.2", "prettier": "2.2.1", "react": "17.0.2", "react-native": "0.66.0", "react-native-gesture-handler": "1.10.3", "typescript": "3.9.7" }, "peerDependencies": { "react": "> 15.0.0", "react-native": "> 0.50.0", "react-native-gesture-handler": "> 1.0.0" } }