12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "react-native-permissions",
  3. "version": "2.0.9",
  4. "license": "MIT",
  5. "description": "An unified permissions API for React Native on iOS and Android",
  6. "author": "Mathieu Acthernoene <zoontek@gmail.com>",
  7. "homepage": "https://github.com/react-native-community/react-native-permissions#readme",
  8. "repository": {
  9. "type": "git",
  10. "url": "https://github.com/react-native-community/react-native-permissions.git"
  11. },
  12. "keywords": [
  13. "react-native",
  14. "react native",
  15. "permission",
  16. "authorization"
  17. ],
  18. "types": "lib/typescript/index.d.ts",
  19. "main": "lib/commonjs/index.js",
  20. "module": "lib/module/index.js",
  21. "files": [
  22. "/android",
  23. "!/android/build",
  24. "/ios",
  25. "/src",
  26. "/lib",
  27. "/*.podspec",
  28. "mock.js"
  29. ],
  30. "scripts": {
  31. "start": "react-native start",
  32. "format": "prettier '**/*.{js,json,md,ts,tsx}' --write",
  33. "prepare": "bob build",
  34. "validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"",
  35. "validate:tsc": "tsc --project ./ --noEmit"
  36. },
  37. "@react-native-community/bob": {
  38. "source": "src",
  39. "output": "lib",
  40. "targets": [
  41. "commonjs",
  42. "module",
  43. "typescript"
  44. ]
  45. },
  46. "husky": {
  47. "hooks": {
  48. "pre-commit": "lint-staged"
  49. }
  50. },
  51. "lint-staged": {
  52. "**/*.{json,md}": [
  53. "yarn format",
  54. "git add"
  55. ],
  56. "**/*.{js,ts,tsx}": [
  57. "yarn format",
  58. "yarn validate:eslint",
  59. "git add"
  60. ]
  61. },
  62. "peerDependencies": {
  63. "react": ">=16.8.6",
  64. "react-native": ">=0.60.0"
  65. },
  66. "devDependencies": {
  67. "@babel/core": "7.7.7",
  68. "@react-native-community/bob": "0.7.0",
  69. "@react-native-community/eslint-config": "0.0.6",
  70. "@react-native-community/eslint-plugin": "1.0.0",
  71. "@types/react-native": "0.60.27",
  72. "@typescript-eslint/eslint-plugin": "2.14.0",
  73. "@typescript-eslint/parser": "2.14.0",
  74. "eslint": "6.8.0",
  75. "eslint-config-prettier": "6.9.0",
  76. "eslint-plugin-prettier": "3.1.2",
  77. "husky": "3.1.0",
  78. "lint-staged": "9.5.0",
  79. "prettier": "1.19.1",
  80. "react": "16.9.0",
  81. "react-native": "0.61.5",
  82. "typescript": "3.7.4"
  83. }
  84. }