package.json 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "react-native-safe-area-context",
  3. "version": "0.6.3",
  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",
  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. },
  32. "keywords": [
  33. "react-native",
  34. "react native",
  35. "react-native-web",
  36. "expo-web",
  37. "safe area",
  38. "view"
  39. ],
  40. "peerDependencies": {
  41. "react": "*",
  42. "react-native": "*"
  43. },
  44. "dependencies": {},
  45. "devDependencies": {
  46. "@react-native-community/bob": "^0.7.0",
  47. "@react-native-community/eslint-config": "^0.0.5",
  48. "@types/jest": "^24.0.21",
  49. "@types/react": "^16.9.11",
  50. "@types/react-native": "^0.60.22",
  51. "@types/react-test-renderer": "^16.9.1",
  52. "@typescript-eslint/eslint-plugin": "^2.6.0",
  53. "@typescript-eslint/parser": "^2.6.0",
  54. "eslint": "6.6.0",
  55. "eslint-config-prettier": "^6.5.0",
  56. "eslint-plugin-prettier": "3.1.1",
  57. "expo": "^35.0.0",
  58. "jest": "^24.9.0",
  59. "metro-react-native-babel-preset": "^0.57.0",
  60. "prettier": "^1.18.2",
  61. "react": "^16.11.0",
  62. "react-dom": "^16.11.0",
  63. "react-native": "^0.61.0",
  64. "react-native-web": "^0.11.7",
  65. "react-test-renderer": "^16.11.0",
  66. "typescript": "^3.6.4"
  67. },
  68. "repository": {
  69. "type": "git",
  70. "url": "https://github.com/th3rdwave/react-native-safe-area-context.git"
  71. },
  72. "jest": {
  73. "preset": "react-native",
  74. "testEnvironment": "node",
  75. "clearMocks": true,
  76. "modulePathIgnorePatterns": [
  77. "<rootDir>/lib/"
  78. ]
  79. },
  80. "@react-native-community/bob": {
  81. "source": "src",
  82. "output": "lib",
  83. "targets": [
  84. "commonjs",
  85. "module",
  86. "typescript"
  87. ]
  88. }
  89. }