暂无描述

package.json 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "react-native-safe-area-context",
  3. "version": "0.7.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. },
  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.8.0",
  47. "@react-native-community/eslint-config": "^0.0.7",
  48. "@types/jest": "^25.1.1",
  49. "@types/react": "^16.9.19",
  50. "@types/react-native": "^0.61.10",
  51. "@types/react-test-renderer": "^16.9.2",
  52. "@typescript-eslint/eslint-plugin": "^2.19.0",
  53. "@typescript-eslint/parser": "^2.19.0",
  54. "eslint": "6.8.0",
  55. "eslint-config-prettier": "^6.10.0",
  56. "eslint-plugin-prettier": "3.1.2",
  57. "expo": "^36.0.2",
  58. "jest": "^25.1.0",
  59. "metro-react-native-babel-preset": "^0.58.0",
  60. "prettier": "^1.19.1",
  61. "react": "^16.11.0",
  62. "react-dom": "^16.12.0",
  63. "react-native": "^0.61.0",
  64. "react-native-web": "^0.12.0",
  65. "react-test-renderer": "^16.12.0",
  66. "typescript": "^3.7.5"
  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. }