123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- {
- "name": "react-native-permissions",
- "version": "2.0.2",
- "license": "MIT",
- "description": "An unified permissions API for React Native on iOS and Android",
- "author": "Mathieu Acthernoene <zoontek@gmail.com>",
- "homepage": "https://github.com/react-native-community/react-native-permissions#readme",
- "repository": {
- "type": "git",
- "url": "https://github.com/react-native-community/react-native-permissions.git"
- },
- "keywords": [
- "react-native",
- "react native",
- "permission",
- "authorization"
- ],
- "react-native": "src/index.ts",
- "types": "lib/typescript/index.d.ts",
- "main": "lib/commonjs/index.js",
- "module": "lib/module/index.js",
- "files": [
- "/android",
- "!/android/build",
- "/ios",
- "/src",
- "/lib",
- "/*.podspec"
- ],
- "scripts": {
- "start": "react-native start",
- "format": "prettier '**/*.{js,json,md,ts,tsx}' --write",
- "prepare": "bob build",
- "validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"",
- "validate:tsc": "tsc --project ./ --noEmit"
- },
- "@react-native-community/bob": {
- "source": "src",
- "output": "lib",
- "targets": [
- "commonjs",
- "module",
- "typescript"
- ]
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
- "lint-staged": {
- "**/*.{json,md}": [
- "yarn format",
- "git add"
- ],
- "**/*.{js,ts,tsx}": [
- "yarn format",
- "yarn validate:eslint",
- "git add"
- ]
- },
- "peerDependencies": {
- "react": ">=16.8.6",
- "react-native": ">=0.60.0"
- },
- "devDependencies": {
- "@babel/core": "7.6.2",
- "@react-native-community/bob": "0.7.0",
- "@react-native-community/eslint-config": "0.0.5",
- "@types/react-native": "0.60.18",
- "@typescript-eslint/eslint-plugin": "2.3.2",
- "@typescript-eslint/parser": "2.3.2",
- "eslint": "6.5.1",
- "eslint-config-prettier": "6.3.0",
- "eslint-plugin-prettier": "3.1.1",
- "husky": "3.0.8",
- "lint-staged": "9.4.1",
- "prettier": "1.18.2",
- "react": "16.9.0",
- "react-native": "0.61.2",
- "typescript": "3.6.3"
- }
- }
|