package.json 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "react-native-permissions",
  3. "version": "2.0.5",
  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. "react-native": "src/index.ts",
  19. "types": "lib/typescript/index.d.ts",
  20. "main": "lib/commonjs/index.js",
  21. "module": "lib/module/index.js",
  22. "files": [
  23. "/android",
  24. "!/android/build",
  25. "/ios",
  26. "/src",
  27. "/lib",
  28. "/*.podspec",
  29. "mock.js"
  30. ],
  31. "scripts": {
  32. "start": "react-native start",
  33. "format": "prettier '**/*.{js,json,md,ts,tsx}' --write",
  34. "prepare": "bob build",
  35. "validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"",
  36. "validate:tsc": "tsc --project ./ --noEmit"
  37. },
  38. "@react-native-community/bob": {
  39. "source": "src",
  40. "output": "lib",
  41. "targets": [
  42. "commonjs",
  43. "module",
  44. "typescript"
  45. ]
  46. },
  47. "husky": {
  48. "hooks": {
  49. "pre-commit": "lint-staged"
  50. }
  51. },
  52. "lint-staged": {
  53. "**/*.{json,md}": [
  54. "yarn format",
  55. "git add"
  56. ],
  57. "**/*.{js,ts,tsx}": [
  58. "yarn format",
  59. "yarn validate:eslint",
  60. "git add"
  61. ]
  62. },
  63. "peerDependencies": {
  64. "react": ">=16.8.6",
  65. "react-native": ">=0.60.0"
  66. },
  67. "devDependencies": {
  68. "@babel/core": "7.6.2",
  69. "@react-native-community/bob": "0.7.0",
  70. "@react-native-community/eslint-config": "0.0.5",
  71. "@types/react-native": "0.60.18",
  72. "@typescript-eslint/eslint-plugin": "2.3.2",
  73. "@typescript-eslint/parser": "2.3.2",
  74. "eslint": "6.5.1",
  75. "eslint-config-prettier": "6.3.0",
  76. "eslint-plugin-prettier": "3.1.1",
  77. "husky": "3.0.8",
  78. "lint-staged": "9.4.1",
  79. "prettier": "1.18.2",
  80. "react": "16.9.0",
  81. "react-native": "0.61.2",
  82. "typescript": "3.6.3"
  83. }
  84. }