UNPKG

react-native-wonderpush

Version:

Mobile push notification delivery with the WonderPush service. The WonderPush ReactNative SDK is compatible with iOS and Android.

161 lines (160 loc) 4.04 kB
{ "name": "react-native-wonderpush", "title": "WonderPush React Native SDK", "version": "3.0.2", "description": "Mobile push notification delivery with the WonderPush service. The WonderPush ReactNative SDK is compatible with iOS and Android.", "keywords": [ "react-native", "ios", "android", "wonderpush", "push", "mobile push", "mobile push notifications", "GDPR", "RGPD", "notification", "notifications", "push notification", "push notifications", "apn", "apns", "gcm", "fcm", "hcm" ], "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "source": "./src/index.tsx", "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./package.json": "./package.json" }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-wonderpush-example", "fcm": "yarn workspace react-native-wonderpush-fcm", "hcm": "yarn workspace react-native-wonderpush-hcm", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build" }, "repository": { "type": "git", "url": "git+https://github.com/wonderpush/react-native-wonderpush.git", "baseUrl": "https://github.com/wonderpush/react-native-wonderpush" }, "author": "WonderPush <dev@wonderpush.com> (https://www.wonderpush.com/)", "license": "Apache-2.0", "readmeFilename": "README.md", "bugs": { "url": "https://github.com/wonderpush/react-native-wonderpush/issues" }, "homepage": "https://github.com/wonderpush/react-native-wonderpush#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^19.8.1", "@eslint/compat": "^1.3.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.35.0", "@react-native-community/cli": "20.0.1", "@react-native/babel-preset": "0.81.1", "@react-native/eslint-config": "^0.81.1", "@types/jest": "^29.5.14", "@types/react": "^19.1.0", "commitlint": "^19.8.1", "del-cli": "^6.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "jest": "^29.7.0", "prettier": "^3.6.2", "react": "19.1.0", "react-native": "0.81.1", "react-native-builder-bob": "^0.40.13", "turbo": "^2.5.6", "typescript": "^5.9.2" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example", "fcm", "hcm" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/fcm/node_modules", "<rootDir>/hcm/node_modules", "<rootDir>/lib/" ] }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "WonderPushSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.wonderpush.sdk.reactnative" } }, "create-react-native-library": { "languages": "kotlin-objc", "type": "turbo-module", "version": "0.54.3" } }