UNPKG

@pachun/use-expo-push-notifications

Version:

Simpler (and more testable) expo-notifications event handling

62 lines (61 loc) 2.04 kB
{ "name": "@pachun/use-expo-push-notifications", "version": "0.0.18", "license": "MIT", "description": "Simpler (and more testable) expo-notifications event handling", "keywords": [ "react", "native", "expo", "expo-notifications" ], "repository": { "type": "git", "url": "https://github.com/pachun/use-expo-notifications" }, "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib", "LICENSE", "README.md", "tests/jest.setup.ts" ], "scripts": { "build": "tsc --project tsconfig.build.json", "lint": "eslint src", "test": "jest", "doctor": "npx expo-doctor" }, "devDependencies": { "@testing-library/jest-native": "^5.4.3", "@testing-library/react-hooks": "^8.0.1", "@testing-library/react-native": "^13.0.1", "@types/jest": "^29.5.13", "@types/react": "~19.0.10", "eslint": "^8.57.0", "eslint-config-expo": "~9.2.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "expo": "53.0.18", "expo-notifications": "~0.31.4", "prettier": "^3.3.3", "react": "19.0.0", "react-native": "0.79.5", "typescript": "~5.8.3" }, "peerDependencies": { "expo-notifications": "^0.31.2" }, "dependencies": {}, "_undici_comment_1": "https://github.com/expo/expo/tree/main/packages/@expo/server#readme", "_undici_comment_2": "Undici is a dependency of @expo/server, which is required by expo-router.", "_undici_comment_3": "We're not sure what expo/server does (the docs are blank), but I don't think we use it;", "_undici_comment_4": "The app works just fine without it.", "_undici_comment_5": "However, the version of undici it requires will force a node upgrade that we really don't want", "_undici_comment_6": "to do because coverage reporting in node versions above 20.9.0 (our current version)", "_undici_comment_7": "is very broken and has been for years: https://github.com/nodejs/node/issues/51251", "resolutions": { "undici": "6.21.3" } }