package.json 4.93 KB
Newer Older
Lidan Hifi's avatar
Lidan Hifi committed
1 2
{
  "name": "react-native-notifications",
3
  "version": "3.0.0-beta.0",
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
  ],
yogevbd's avatar
yogevbd committed
22 23
  "main": "lib/dist/index.js",
  "typings": "lib/dist/index.d.ts",
yogevbd's avatar
WIP  
yogevbd committed
24
  "scripts": {
yogevbd's avatar
yogevbd committed
25 26
    "build": "rm -rf ./lib/dist && tsc",
    "prestart": "npm run build",
yogevbd's avatar
yogevbd committed
27
    "pretest-js": "npm run build",
yogevbd's avatar
yogevbd committed
28 29
    "pretest-unit-ios": "npm run build",
    "pretest-unit-android": "npm run build",
yogevbd's avatar
yogevbd committed
30
    "test": "node scripts/test",
31
    "start": "node ./scripts/start",
32
    "pretest-e2e-ios-release": "npm run build",
yogevbd's avatar
yogevbd committed
33
    "clean": "node ./scripts/clean",
yogevbd's avatar
yogevbd committed
34
    "test-e2e-ios": "node ./scripts/test-e2e --ios",
yogevbd's avatar
yogevbd committed
35
    "test-e2e-ios-release": "node ./scripts/test-e2e --ios --release",
yogevbd's avatar
yogevbd committed
36 37
    "test-unit-ios": "node ./scripts/test-unit --ios",
    "test-unit-android": "node ./scripts/test-unit --android",
38
    "test-js": "node ./scripts/test-js",
39
    "xcode": "open example/ios/NotificationsExampleApp.xcodeproj",
40
    "androidStudio": "open -a /Applications/Android\\ Studio.app ./example/android",
yogevbd's avatar
yogevbd committed
41
    "prerelease": "npm run build",
yogevbd's avatar
yogevbd committed
42 43
    "release": "node ./scripts/release",
    "generate-changelog": "gren changelog"
yogevbd's avatar
WIP  
yogevbd committed
44
  },
Lidan Hifi's avatar
Lidan Hifi committed
45 46
  "nativePackage": true,
  "peerDependencies": {
Amit Davidi's avatar
Amit Davidi committed
47 48
    "react": ">=0.14.5",
    "react-native": ">=0.25.1"
Lidan Hifi's avatar
Lidan Hifi committed
49
  },
Lidan Hifi's avatar
Lidan Hifi committed
50
  "devDependencies": {
51 52 53 54 55
    "@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",
yogevbd's avatar
yogevbd committed
56 57
    "@types/jest": "23.x.x",
    "@types/lodash": "4.x.x",
58
    "typescript": "3.2.2",
Guy Carmeli's avatar
Guy Carmeli committed
59
    "babel-eslint": "9.0.0",
yogevbd's avatar
yogevbd committed
60
    "tslint": "5.x.x",
yogevbd's avatar
yogevbd committed
61
    "ts-mockito": "^2.3.1",
Lidan Hifi's avatar
Lidan Hifi committed
62
    "mocha": "^2.5.3",
yogevbd's avatar
yogevbd committed
63
    "shell-utils": "1.x.x",
64
    "react-native": "0.60.5",
65
    "react": "16.8.6",
yogevbd's avatar
yogevbd committed
66
    "detox": "14.x.x",
yogevbd's avatar
yogevbd committed
67
    "jsc-android": "236355.x.x",
68
    "jest": "24.8.0",
yogevbd's avatar
yogevbd committed
69
    "metro-react-native-babel-preset": "0.55.x",
70
    "react-native-typescript-transformer": "1.2.12",
71
    "github-release-notes": "0.17.0"
Lidan Hifi's avatar
Lidan Hifi committed
72 73 74 75 76 77 78 79
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/wix/react-native-notifications.git"
  },
80
  "homepage": "https://github.com/wix/react-native-notifications",
Lidan Hifi's avatar
Lidan Hifi committed
81
  "bugs": {
82
    "url": "https://github.com/wix/react-native-notifications/issues"
Lidan Hifi's avatar
Lidan Hifi committed
83
  },
84 85 86 87 88 89 90
  "detox": {
    "test-runner": "jest",
    "specs": "",
    "configurations": {
      "ios.none": {
        "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
        "type": "ios.none",
yogevbd's avatar
yogevbd committed
91
        "name": "iPhone 11",
92 93 94 95 96 97 98 99 100
        "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",
yogevbd's avatar
yogevbd committed
101
        "name": "iPhone 11"
102 103
      },
      "ios.sim.release": {
yogevbd's avatar
yogevbd committed
104
        "binaryPath": "example/ios/DerivedData/NotificationsExampleApp/Build/Products/Release-iphonesimulator/NotificationsExampleApp.app",
yogevbd's avatar
yogevbd committed
105
        "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",
106
        "type": "ios.simulator",
yogevbd's avatar
yogevbd committed
107
        "name": "iPhone 11"
108 109 110 111 112 113 114 115 116
      }
    }
  },
  "jest": {
    "preset": "react-native",
    "transform": {
      "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
    },
    "roots": [
yogevbd's avatar
yogevbd committed
117
      "<rootDir>/node_modules/",
yogevbd's avatar
yogevbd committed
118
      "<rootDir>/lib/dist/"
119 120
    ],
    "collectCoverageFrom": [
yogevbd's avatar
yogevbd committed
121
      "lib/dist/**/*.js",
yogevbd's avatar
yogevbd committed
122
      "lib/src/**/*.js",
123 124
      "integration/**/*.js",
      "!lib/dist/index.js",
yogevbd's avatar
yogevbd committed
125
      "!lib/dist/Notifications.js",
yogevbd's avatar
yogevbd committed
126 127
      "!lib/dist/NotificationsIOS.js",
      "!lib/dist/NotificationsAndroid.js",
128 129 130 131 132 133 134 135 136 137 138 139 140
      "!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
141
    ]
142
  }
143
}