package.json 2.8KB

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