No Description

package.json 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "react-native-safe-area-context",
  3. "version": "0.6.0",
  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. "!/android/build",
  15. "/ios",
  16. "/*.podspec"
  17. ],
  18. "author": "Janic Duplessis <janicduplessis@gmail.com>",
  19. "contributors": [
  20. "Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)"
  21. ],
  22. "homepage": "https://github.com/th3rdwave/react-native-safe-area-context#readme",
  23. "license": "MIT",
  24. "scripts": {
  25. "start": "react-native start",
  26. "test": "yarn validate:prettier && yarn validate:eslint && yarn validate:typescript",
  27. "validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"",
  28. "validate:typescript": "tsc --project ./ --noEmit",
  29. "validate:prettier": "prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check",
  30. "validate:jest": "jest",
  31. "prepare": "bob build"
  32. },
  33. "keywords": [
  34. "react-native",
  35. "react native",
  36. "react-native-web",
  37. "expo-web",
  38. "safe area",
  39. "view"
  40. ],
  41. "peerDependencies": {
  42. "react-native": ">=0.59"
  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. }