package.json 4.29 KB
Newer Older
Lidan Hifi's avatar
Lidan Hifi committed
1 2
{
  "name": "react-native-notifications",
yogevbd's avatar
2.0.3  
yogevbd committed
3
  "version": "2.0.3",
Lidan Hifi's avatar
Lidan Hifi committed
4
  "description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android",
Lidan Hifi's avatar
Lidan Hifi committed
5 6
  "author": "Lidan Hifi <lidan.hifi@gmail.com>",
  "license": "MIT",
Lidan Hifi's avatar
Lidan Hifi committed
7 8 9
  "keywords": [
    "react-component",
    "react-native",
Lidan Hifi's avatar
Lidan Hifi committed
10
    "react native",
Lidan Hifi's avatar
Lidan Hifi committed
11
    "ios",
Lidan Hifi's avatar
Lidan Hifi committed
12
    "push-notifications",
13
    "push notifications",
Lidan Hifi's avatar
Lidan Hifi committed
14 15
    "notifications",
    "notification",
Lidan Hifi's avatar
Lidan Hifi committed
16 17 18 19 20
    "react native notifications",
    "pushkit",
    "push-kit",
    "actionable-notifications",
    "interactive-notifications"
Lidan Hifi's avatar
Lidan Hifi committed
21
  ],
22
  "main": "lib/src/index",
yogevbd's avatar
WIP  
yogevbd committed
23 24
  "scripts": {
    "pretest": "./node_modules/.bin/eslint *.js test",
yogevbd's avatar
yogevbd committed
25
    "test": "node scripts/test",
26
    "start": "node ./scripts/start",
yogevbd's avatar
yogevbd committed
27
    "test-e2e-ios": "node ./scripts/test-e2e --ios",
yogevbd's avatar
yogevbd committed
28
    "test-e2e-ios-release": "node ./scripts/test-e2e --ios --release",
yogevbd's avatar
yogevbd committed
29 30 31
    "test-unit-ios": "node ./scripts/test-unit --ios",
    "test-unit-android": "node ./scripts/test-unit --android",
    "test-js": "node ./scripts/test-js"
yogevbd's avatar
WIP  
yogevbd committed
32
  },
Lidan Hifi's avatar
Lidan Hifi committed
33
  "nativePackage": true,
Lidan Hifi's avatar
Lidan Hifi committed
34
  "dependencies": {
35 36
    "core-js": "^1.0.0",
    "uuid": "^2.0.3"
Lidan Hifi's avatar
Lidan Hifi committed
37
  },
Lidan Hifi's avatar
Lidan Hifi committed
38
  "peerDependencies": {
Amit Davidi's avatar
Amit Davidi committed
39 40
    "react": ">=0.14.5",
    "react-native": ">=0.25.1"
Lidan Hifi's avatar
Lidan Hifi committed
41
  },
Lidan Hifi's avatar
Lidan Hifi committed
42
  "devDependencies": {
43 44 45 46 47 48
    "@types/react": "16.x.x",
    "@types/react-native": "0.57.7",
    "@types/react-test-renderer": "16.x.x",
    "@babel/plugin-proposal-export-default-from": "7.2.0",
    "@babel/plugin-proposal-export-namespace-from": "7.2.0",
    "typescript": "3.2.2",
Guy Carmeli's avatar
Guy Carmeli committed
49
    "babel-eslint": "9.0.0",
Lidan Hifi's avatar
Lidan Hifi committed
50 51
    "chai": "^3.5.0",
    "chokidar-cli": "^1.2.0",
yogevbd's avatar
yogevbd committed
52
    "eslint": "6.0.1",
Lidan Hifi's avatar
Lidan Hifi committed
53
    "mocha": "^2.5.3",
54 55
    "proxyquire": "^1.7.4",
    "sinon": "^1.17.3",
yogevbd's avatar
WIP  
yogevbd committed
56
    "sinon-chai": "^2.8.0",
yogevbd's avatar
yogevbd committed
57
    "shell-utils": "1.x.x",
yogevbd's avatar
yogevbd committed
58
    "react-native": "0.59.5",
59
    "react": "16.8.6",
yogevbd's avatar
WIP  
yogevbd committed
60
    "detox": "13.x.x",
yogevbd's avatar
yogevbd committed
61
    "jsc-android": "236355.x.x",
62
    "jest": "24.8.0",
yogevbd's avatar
yogevbd committed
63
    "metro-react-native-babel-preset": "0.55.x"
Lidan Hifi's avatar
Lidan Hifi committed
64 65 66 67 68 69 70 71
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/wix/react-native-notifications.git"
  },
72
  "homepage": "https://github.com/wix/react-native-notifications",
Lidan Hifi's avatar
Lidan Hifi committed
73
  "bugs": {
74
    "url": "https://github.com/wix/react-native-notifications/issues"
Lidan Hifi's avatar
Lidan Hifi committed
75
  },
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
  "detox": {
    "test-runner": "jest",
    "specs": "",
    "configurations": {
      "ios.none": {
        "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
        "type": "ios.none",
        "name": "iPhone X",
        "session": {
          "server": "ws://localhost:8099",
          "sessionId": "playground"
        }
      },
      "ios.sim.debug": {
        "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Debug-iphonesimulator/NotificationsExampleApp.app",
        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp -project example/ios/NotificationsExampleApp.xcodeproj -sdk iphonesimulator -configuration Debug -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
        "type": "ios.simulator",
        "name": "iPhone X"
      },
      "ios.sim.release": {
yogevbd's avatar
yogevbd committed
96 97
        "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Release-iphonesimulator/playground.app",
        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme NotificationsExampleApp_release -project example/ios/NotificationsExampleApp.xcodeproj -sdk iphonesimulator -configuration Release -derivedDataPath example/ios/DerivedData/NotificationsExampleApp ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
98 99 100 101 102 103 104 105 106 107 108
        "type": "ios.simulator",
        "name": "iPhone X"
      }
    }
  },
  "jest": {
    "preset": "react-native",
    "transform": {
      "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
    },
    "roots": [
yogevbd's avatar
yogevbd committed
109 110
      "<rootDir>/node_modules/",
      "<rootDir>/test/"
111 112
    ],
    "collectCoverageFrom": [
yogevbd's avatar
yogevbd committed
113
      "lib/src/**/*.js",
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
      "integration/**/*.js",
      "!lib/dist/index.js",
      "!lib/dist/Navigation.js",
      "!lib/dist/adapters/**/*",
      "!lib/dist/interfaces/**/*",
      "!lib/dist/**/*.test.*",
      "!integration/**/*.test.*",
      "!integration/*.test.*"
    ],
    "resetMocks": true,
    "resetModules": true,
    "coverageReporters": [
      "json",
      "lcov",
      "text",
      "html"
Lidan Hifi's avatar
0.0.7  
Lidan Hifi committed
130
    ]
131
  }
Lidan Hifi's avatar
Lidan Hifi committed
132
}