暫無描述

package.json 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "react-native-safe-area-context",
  3. "version": "0.4.1",
  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. "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-native": ">=0.59"
  42. },
  43. "dependencies": {},
  44. "devDependencies": {
  45. "@react-native-community/bob": "^0.7.0",
  46. "@react-native-community/eslint-config": "^0.0.5",
  47. "@types/react-native": "^0.60.5",
  48. "@typescript-eslint/eslint-plugin": "^1.7.0",
  49. "@typescript-eslint/parser": "^1.7.0",
  50. "eslint": "5.16.0",
  51. "eslint-config-prettier": "^4.2.0",
  52. "eslint-plugin-prettier": "3.0.1",
  53. "expo": "^34.0.4",
  54. "metro-react-native-babel-preset": "^0.55.0",
  55. "prettier": "^1.18.2",
  56. "react": "^16.8.3",
  57. "react-dom": "^16.9.0",
  58. "react-native": "^0.60.5",
  59. "react-native-web": "^0.11.7",
  60. "typescript": "^3.5.3"
  61. },
  62. "repository": {
  63. "type": "git",
  64. "url": "https://github.com/th3rdwave/react-native-safe-area-context.git"
  65. },
  66. "jest": {
  67. "modulePathIgnorePatterns": [
  68. "<rootDir>/lib/"
  69. ]
  70. },
  71. "@react-native-community/bob": {
  72. "source": "src",
  73. "output": "lib",
  74. "targets": [
  75. "commonjs",
  76. "module",
  77. "typescript"
  78. ]
  79. }
  80. }