Brak opisu

package.json 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "react-native-safe-area-context",
  3. "version": "0.6.4",
  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": "*",
  43. "react-native": "*"
  44. },
  45. "dependencies": {},
  46. "devDependencies": {
  47. "@react-native-community/bob": "^0.7.0",
  48. "@react-native-community/eslint-config": "^0.0.5",
  49. "@types/jest": "^24.0.21",
  50. "@types/react": "^16.9.11",
  51. "@types/react-native": "^0.60.22",
  52. "@types/react-test-renderer": "^16.9.1",
  53. "@typescript-eslint/eslint-plugin": "^2.6.0",
  54. "@typescript-eslint/parser": "^2.6.0",
  55. "eslint": "6.6.0",
  56. "eslint-config-prettier": "^6.5.0",
  57. "eslint-plugin-prettier": "3.1.1",
  58. "expo": "^35.0.0",
  59. "jest": "^24.9.0",
  60. "metro-react-native-babel-preset": "^0.57.0",
  61. "prettier": "^1.18.2",
  62. "react": "^16.11.0",
  63. "react-dom": "^16.11.0",
  64. "react-native": "^0.61.0",
  65. "react-native-web": "^0.11.7",
  66. "react-test-renderer": "^16.11.0",
  67. "typescript": "^3.6.4"
  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. }