UNPKG

react-native-permissions

Version:

An unified permissions API for React Native on iOS, Android and Windows

102 lines (101 loc) 2.71 kB
{ "name": "react-native-permissions", "version": "5.4.1", "license": "MIT", "description": "An unified permissions API for React Native on iOS, Android and Windows", "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", "react-native": "src/index.ts", "files": [ "/android", "!/android/build", "/dist", "/ios", "/scripts", "/windows", "/src", "/*.podspec", "app.plugin.js", "mock.js", "react-native.config.js" ], "scripts": { "clean": "rm -rf dist", "format": "prettier '**/*' -u -w", "lint": "eslint './**/*.{js,ts,tsx}'", "typecheck": "tsc --noEmit", "build": "yarn clean && bob build && rm -rf dist/*/package.json", "prepack": "prettier '**/*' -u -c && yarn lint && yarn typecheck && yarn build" }, "react-native-builder-bob": { "source": "src", "output": "dist", "targets": [ "commonjs", "module", "typescript" ] }, "codegenConfig": { "name": "RNPermissionsSpec", "type": "modules", "jsSrcsDir": "./src", "android": { "javaPackageName": "com.zoontek.rnpermissions" }, "windows": { "namespace": "RNPermissionsCodegen", "outputDirectory": "windows/RNPermissions/codegen", "separateDataTypes": true } }, "peerDependencies": { "react": ">=18.1.0", "react-native": ">=0.70.0", "react-native-windows": ">=0.70.0" }, "peerDependenciesMeta": { "react-native-windows": { "optional": true } }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@expo/config-plugins": "^7.0.0 || ^8.0.0 || ^9.0.0", "@types/react": "^19.0.0", "@typescript-eslint/eslint-plugin": "^8.30.1", "@typescript-eslint/parser": "^8.30.1", "eslint": "^8.57.1", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^4.6.2", "prettier": "^3.5.3", "prettier-plugin-organize-imports": "^4.1.0", "react": "19.0.0", "react-native": "0.78.2", "react-native-builder-bob": "^0.40.6", "react-native-windows": "0.78.4", "typescript": "^5.8.3" }, "react-native-windows": { "init-windows": { "name": "RNPermissions", "namespace": "RNPermissions", "template": "cpp-lib" } } }