package.json 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "react-native-safe-area-context",
  3. "version": "1.0.2",
  4. "description": "A flexible way to handle safe area, also works on Android and web.",
  5. "main": "lib/commonjs/index.js",
  6. "module": "lib/module/index.js",
  7. "react-native": "src/index.tsx",
  8. "types": "lib/typescript/src/index.d.ts",
  9. "sideEffects": false,
  10. "files": [
  11. "/src",
  12. "/lib",
  13. "/android",
  14. "/ios",
  15. "/*.podspec"
  16. ],
  17. "author": "Janic Duplessis <janicduplessis@gmail.com>",
  18. "contributors": [
  19. "Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)"
  20. ],
  21. "homepage": "https://github.com/th3rdwave/react-native-safe-area-context#readme",
  22. "license": "MIT",
  23. "scripts": {
  24. "start": "react-native start",
  25. "test": "yarn validate:prettier && yarn validate:eslint && yarn validate:typescript && yarn validate:jest",
  26. "validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"",
  27. "validate:typescript": "tsc --project ./ --noEmit",
  28. "validate:prettier": "prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check",
  29. "validate:jest": "jest",
  30. "prepare": "bob build",
  31. "example:ios": "cd ./example && react-native run-ios",
  32. "example:android": "cd ./example && react-native run-android --no-jetifier",
  33. "example:expo": "expo start --config example/app.json"
  34. },
  35. "keywords": [
  36. "react-native",
  37. "react native",
  38. "react-native-web",
  39. "expo-web",
  40. "safe area",
  41. "view"
  42. ],
  43. "peerDependencies": {
  44. "react": "*",
  45. "react-native": "*"
  46. },
  47. "dependencies": {},
  48. "devDependencies": {
  49. "@react-native-community/async-storage": "^1.10.1",
  50. "@react-native-community/bob": "^0.10.1",
  51. "@react-native-community/eslint-config": "^1.1.0",
  52. "@react-native-community/masked-view": "^0.1.10",
  53. "@react-navigation/native": "^5.3.2",
  54. "@react-navigation/stack": "^5.3.6",
  55. "@react-navigation/bottom-tabs": "^5.4.4",
  56. "@types/jest": "^25.2.1",
  57. "@types/react": "^16.9.34",
  58. "@types/react-native": "^0.62.5",
  59. "@types/react-dom": "^16.9.7",
  60. "@types/react-test-renderer": "^16.9.2",
  61. "@typescript-eslint/eslint-plugin": "^2.30.0",
  62. "@typescript-eslint/parser": "^2.30.0",
  63. "babel-plugin-module-resolver": "^4.0.0",
  64. "eslint": "6.8.0",
  65. "eslint-config-prettier": "^6.11.0",
  66. "eslint-plugin-prettier": "3.1.3",
  67. "expo": "^37.0.8",
  68. "expo-cli": "^3.20.1",
  69. "jest": "^25.5.4",
  70. "metro-react-native-babel-preset": "^0.59.0",
  71. "prettier": "^2.0.5",
  72. "react": "^16.13.1",
  73. "react-dom": "^16.13.1",
  74. "react-native": "^0.63.0-rc.0",
  75. "react-native-web": "^0.12.2",
  76. "react-navigation": "^4.3.9",
  77. "react-navigation-stack": "^2.5.0",
  78. "react-navigation-tabs": "^2.8.13",
  79. "react-native-safe-area-view": "1.1.1",
  80. "react-native-gesture-handler": "^1.6.1",
  81. "react-native-screens": "^2.7.0",
  82. "react-native-reanimated": "^1.8.0",
  83. "react-test-renderer": "^16.13.1",
  84. "typescript": "^3.8.3"
  85. },
  86. "repository": {
  87. "type": "git",
  88. "url": "https://github.com/th3rdwave/react-native-safe-area-context.git"
  89. },
  90. "jest": {
  91. "preset": "react-native",
  92. "testEnvironment": "node",
  93. "clearMocks": true,
  94. "modulePathIgnorePatterns": [
  95. "<rootDir>/lib/"
  96. ]
  97. },
  98. "@react-native-community/bob": {
  99. "source": "src",
  100. "output": "lib",
  101. "targets": [
  102. "commonjs",
  103. "module",
  104. "typescript"
  105. ]
  106. }
  107. }