UNPKG

react-native-notifications

Version:

Advanced Push Notifications (Silent, interactive notifications) for iOS & Android

138 lines (137 loc) 4.91 kB
{ "name": "react-native-notifications", "version": "3.4.0-snapshot.185", "description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android", "author": "Lidan Hifi <lidan.hifi@gmail.com>", "license": "MIT", "keywords": [ "react-component", "react-native", "react native", "ios", "push-notifications", "push notifications", "notifications", "notification", "react native notifications", "pushkit", "push-kit", "actionable-notifications", "interactive-notifications" ], "main": "lib/dist/index.js", "typings": "lib/dist/index.d.ts", "scripts": { "build": "rm -rf ./lib/dist && tsc", "prestart": "npm run build", "pretest-js": "npm run build", "pretest-unit-ios": "npm run build", "pretest-unit-android": "npm run build", "test": "node scripts/test", "start": "node ./scripts/start", "pretest-e2e-ios-release": "npm run build", "clean": "node ./scripts/clean", "test-e2e-ios": "node ./scripts/test-e2e --ios", "test-e2e-ios-release": "node ./scripts/test-e2e --ios --release", "test-unit-ios": "node ./scripts/test-unit --ios", "test-unit-android": "node ./scripts/test-unit --android", "test-js": "node ./scripts/test-js", "xcode": "open example/ios/NotificationsExampleApp.xcworkspace", "androidStudio": "open -a /Applications/Android\\ Studio.app ./example/android", "prerelease": "npm run build", "release": "node ./scripts/release", "generate-changelog": "gren changelog", "docusaurus": "npm start --prefix website", "pod-install": "pod install --project-directory=example/ios" }, "nativePackage": true, "peerDependencies": { "react": ">=0.14.5", "react-native": ">=0.25.1" }, "devDependencies": { "lodash": "4.17.19", "hermes-engine": "0.4.2-rc1", "react-autobind": "1.0.6", "react": "16.11.0", "react-native": "0.62.2", "detox": "^17.5.7", "jest": "24.9.0", "typescript": "^3.7.5", "babel-eslint": "10.0.3", "tslint": "6.1.2", "ts-mockito": "2.5.0", "shell-utils": "1.0.10", "metro-react-native-babel-preset": "0.59.0", "react-native-typescript-transformer": "1.2.13", "github-release-notes": "0.17.0", "@types/react": "16.9.35", "@types/react-native": "0.62.2", "@types/react-test-renderer": "16.9.2", "@babel/plugin-proposal-export-default-from": "7.2.0", "@babel/plugin-proposal-export-namespace-from": "7.2.0", "@types/jest": "24.9.0", "@types/lodash": "4.14.153" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": { "type": "git", "url": "https://github.com/wix/react-native-notifications.git" }, "homepage": "https://github.com/wix/react-native-notifications", "bugs": { "url": "https://github.com/wix/react-native-notifications/issues" }, "detox": { "test-runner": "jest", "specs": "", "configurations": { "ios.sim.debug": { "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Debug-iphonesimulator/NotificationsExampleApp.app", "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp -workspace example/ios/NotificationsExampleApp.xcworkspace -sdk iphonesimulator -configuration Debug -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO", "type": "ios.simulator", "name": "iPhone 11" }, "ios.sim.release": { "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Release-iphonesimulator/NotificationsExampleApp.app", "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp_release -workspace example/ios/NotificationsExampleApp.xcworkspace -sdk iphonesimulator -configuration Release -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO", "type": "ios.simulator", "name": "iPhone 11" } } }, "jest": { "preset": "react-native", "transform": { "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js" }, "roots": [ "<rootDir>/node_modules/", "<rootDir>/lib/dist/" ], "collectCoverageFrom": [ "lib/dist/**/*.js", "lib/src/**/*.js", "integration/**/*.js", "!lib/dist/index.js", "!lib/dist/Notifications.js", "!lib/dist/NotificationsIOS.js", "!lib/dist/NotificationsAndroid.js", "!lib/dist/adapters/**/*", "!lib/dist/interfaces/**/*", "!lib/dist/**/*.test.*", "!integration/**/*.test.*", "!integration/*.test.*" ], "resetMocks": true, "resetModules": true, "coverageReporters": [ "json", "lcov", "text", "html" ] } }