package.json 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "react-native-safe-area-context",
  3. "version": "0.7.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 && 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. },
  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.10.1",
  47. "@react-native-community/eslint-config": "^1.1.0",
  48. "@types/jest": "^25.2.1",
  49. "@types/react": "^16.9.34",
  50. "@types/react-native": "^0.62.5",
  51. "@types/react-dom": "^16.9.7",
  52. "@types/react-test-renderer": "^16.9.2",
  53. "@typescript-eslint/eslint-plugin": "^2.30.0",
  54. "@typescript-eslint/parser": "^2.30.0",
  55. "eslint": "6.8.0",
  56. "eslint-config-prettier": "^6.11.0",
  57. "eslint-plugin-prettier": "3.1.3",
  58. "expo": "^37.0.8",
  59. "jest": "^25.5.4",
  60. "metro-react-native-babel-preset": "^0.59.0",
  61. "prettier": "^2.0.5",
  62. "react": "^16.13.1",
  63. "react-dom": "^16.13.1",
  64. "react-native": "^0.63.0-rc.0",
  65. "react-native-web": "^0.12.2",
  66. "react-test-renderer": "^16.13.1",
  67. "typescript": "^3.8.3"
  68. },
  69. "repository": {
  70. "type": "git",
  71. "url": "https://github.com/th3rdwave/react-native-safe-area-context.git"
  72. },
  73. "jest": {
  74. "preset": "react-native",
  75. "testEnvironment": "node",
  76. "clearMocks": true,
  77. "modulePathIgnorePatterns": [
  78. "<rootDir>/lib/"
  79. ]
  80. },
  81. "@react-native-community/bob": {
  82. "source": "src",
  83. "output": "lib",
  84. "targets": [
  85. "commonjs",
  86. "module",
  87. "typescript"
  88. ]
  89. }
  90. }