package.json 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "react-native-permissions",
  3. "version": "2.0.8",
  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.4",
  68. "@react-native-community/bob": "0.7.0",
  69. "@react-native-community/eslint-config": "0.0.5",
  70. "@types/react-native": "0.60.23",
  71. "@typescript-eslint/eslint-plugin": "2.10.0",
  72. "@typescript-eslint/parser": "2.10.0",
  73. "eslint": "6.7.2",
  74. "eslint-config-prettier": "6.7.0",
  75. "eslint-plugin-prettier": "3.1.1",
  76. "husky": "3.1.0",
  77. "lint-staged": "9.5.0",
  78. "prettier": "1.19.1",
  79. "react": "16.9.0",
  80. "react-native": "0.61.5",
  81. "typescript": "3.7.3"
  82. }
  83. }