package.json 1.98 KB
{
  "name": "react-native-permissions",
  "version": "2.1.5",
  "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"
  ],
  "types": "lib/typescript/index.d.ts",
  "main": "lib/commonjs/index.js",
  "module": "lib/module/index.js",
  "files": [
    "/android",
    "!/android/build",
    "/ios",
    "/src",
    "/lib",
    "/*.podspec",
    "mock.js"
  ],
  "scripts": {
    "start": "react-native start",
    "format": "prettier '**/*.{js,json,md,ts,tsx}' --write",
    "prepare": "bob build",
    "validate:eslint": "eslint \"./**/*.{js,ts,tsx}\"",
    "validate:tsc": "tsc --project ./ --noEmit"
  },
  "@react-native-community/bob": {
    "source": "src",
    "output": "lib",
    "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.8.6",
    "react-native": ">=0.60.0"
  },
  "devDependencies": {
    "@babel/core": "7.9.0",
    "@react-native-community/bob": "0.10.0",
    "@react-native-community/eslint-config": "1.0.0",
    "@types/react-native": "0.62.2",
    "@typescript-eslint/eslint-plugin": "2.27.0",
    "@typescript-eslint/parser": "2.27.0",
    "eslint": "6.8.0",
    "eslint-config-prettier": "6.10.1",
    "eslint-plugin-prettier": "3.1.2",
    "husky": "4.2.5",
    "lint-staged": "10.1.3",
    "prettier": "2.0.4",
    "react": "16.11.0",
    "react-native": "0.62.2",
    "typescript": "3.8.3"
  }
}