UNPKG

react-native-permissions

Version:

An unified permissions API for React Native on iOS and Android

84 lines (83 loc) 2.04 kB
{ "name": "react-native-permissions", "version": "3.0.3", "license": "MIT", "description": "An unified permissions API for React Native on iOS and Android", "author": "Mathieu Acthernoene <zoontek@gmail.com>", "homepage": "https://github.com/zoontek/react-native-permissions#readme", "repository": { "type": "git", "url": "https://github.com/zoontek/react-native-permissions.git" }, "keywords": [ "react-native", "react native", "react-native-windows", "permission", "authorization" ], "types": "dist/typescript/index.d.ts", "main": "dist/commonjs/index.js", "module": "dist/module/index.js", "files": [ "/android", "!/android/build", "/dist", "/ios", "/windows", "/src", "/*.podspec", "mock.js" ], "scripts": { "start": "react-native start", "prepare": "bob build", "format": "prettier '**/*.{js,json,md,ts,tsx}' --write", "lint": "eslint \"./**/*.{js,ts,tsx}\"", "tscheck": "tsc --project ./ --noEmit" }, "@react-native-community/bob": { "source": "src", "output": "dist", "targets": [ "commonjs", "module", "typescript" ] }, "lint-staged": { "**/*.{js,ts,tsx}": [ "prettier --write", "eslint" ], "**/*.{json,md}": [ "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "peerDependencies": { "react": ">=16.13.1", "react-native": ">=0.63.3", "react-native-windows": ">=0.62.0" }, "devDependencies": { "@babel/core": "^7.12.9", "@react-native-community/bob": "^0.16.2", "@types/react-native": "^0.63.37", "@typescript-eslint/eslint-plugin": "^4.8.2", "@typescript-eslint/parser": "^4.8.2", "eslint": "^7.14.0", "eslint-plugin-react": "^7.21.5", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^4.3.0", "lint-staged": "^10.5.2", "prettier": "^2.2.1", "react": "16.13.1", "react-native": "0.63.3", "typescript": "^4.1.2" } }