UNPKG

@janiscommerce/app-push-notification

Version:

This package will take care of performing the main actions for registration to receive notifications in the foreground and background.

83 lines (82 loc) 2.78 kB
{ "name": "@janiscommerce/app-push-notification", "version": "0.0.7", "type": "commonjs", "description": "This package will take care of performing the main actions for registration to receive notifications in the foreground and background.", "main": "lib/index.js", "scripts": { "test": "jest", "lint": "eslint .", "build-docs": "jsdoc2md --template template-readme.hbs --files lib/NotificationProvider/index.js lib/NotificationContext.js > README.md", "test:coverage": "jest --collectCoverage", "validate:code": "npm run lint -- --fix && jest --collectCoverage" }, "repository": { "type": "git", "url": "git+https://github.com/janis-commerce/app-push-notification.git" }, "files": [ "lib/" ], "keywords": [ "janis", "janiscommerce", "app", "pushnotification" ], "author": "Janis", "license": "ISC", "dependencies": { "@janiscommerce/app-request": "^2.2.0", "@notifee/react-native": "^7.8.2", "@react-native-async-storage/async-storage": "^1.18.1", "@react-native-firebase/app": "^18.3.1", "@react-native-firebase/messaging": "^18.3.1", "axios": "^1.3.6", "react-native-device-info": "^8.5.0" }, "peerDependencies": { "react": ">=17.0.2 <=18.2.0", "react-native": ">=0.67.5 <=0.72.0" }, "devDependencies": { "@babel/core": "^7.22.10", "@babel/eslint-parser": "^7.5.4", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/preset-env": "^7.22.10", "@babel/runtime": "^7.12.5", "@janiscommerce/app-request": "^2.2.0", "@react-native-community/eslint-config": "^2.0.0", "@react-native-firebase/app": "^18.3.1", "@react-native-firebase/messaging": "^18.3.1", "@testing-library/react-native": "^12.0.1", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.3", "babel-loader": "8.2.4", "eslint": "7.14.0", "eslint-config-airbnb": "^18.2.1", "eslint-config-prettier": "^8.1.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-react": "^7.22.0", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^4.3.8", "jest": "^28.0.0", "jsdoc-babel": "^0.5.0", "jsdoc-to-markdown": "^8.0.0", "lint-staged": "^10.5.4", "metro-react-native-babel-preset": "^0.66.2", "nock": "^13.0.11", "prettier": "^2.4.1", "react": "^17.0.2", "react-native": "^0.67.5", "react-native-device-info": "^8.5.0", "react-test-renderer": "^17.0.2" }, "bugs": { "url": "https://github.com/janis-commerce/app-push-notification/issues" }, "homepage": "https://github.com/janis-commerce/app-push-notification#readme" }