12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- {
- "name": "react-native-permissions",
- "version": "2.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/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",
- "./mock.js"
- ],
- "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"
- }
- }
|