forked from invertase/react-native-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
156 lines (156 loc) · 10.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"_args": [
[
{
"raw": "react-native-firebase@git+https://github.com/maxbbb/react-native-firebase.git",
"scope": null,
"escapedName": "react-native-firebase",
"name": "react-native-firebase",
"rawSpec": "git+https://github.com/maxbbb/react-native-firebase.git",
"spec": "git+https://github.com/maxbbb/react-native-firebase.git",
"type": "hosted",
"hosted": {
"type": "github",
"ssh": "[email protected]:maxbbb/react-native-firebase.git",
"sshUrl": "git+ssh://[email protected]/maxbbb/react-native-firebase.git",
"httpsUrl": "git+https://github.com/maxbbb/react-native-firebase.git",
"gitUrl": "git://github.com/maxbbb/react-native-firebase.git",
"shortcut": "github:maxbbb/react-native-firebase",
"directUrl": "https://raw.githubusercontent.com/maxbbb/react-native-firebase/master/package.json"
}
},
"/Users/kanethomas/clique-android"
]
],
"_from": "git+https://github.com/maxbbb/react-native-firebase.git",
"_id": "[email protected]",
"_inCache": true,
"_location": "/react-native-firebase",
"_phantomChildren": {},
"_requested": {
"raw": "react-native-firebase@git+https://github.com/maxbbb/react-native-firebase.git",
"scope": null,
"escapedName": "react-native-firebase",
"name": "react-native-firebase",
"rawSpec": "git+https://github.com/maxbbb/react-native-firebase.git",
"spec": "git+https://github.com/maxbbb/react-native-firebase.git",
"type": "hosted",
"hosted": {
"type": "github",
"ssh": "[email protected]:maxbbb/react-native-firebase.git",
"sshUrl": "git+ssh://[email protected]/maxbbb/react-native-firebase.git",
"httpsUrl": "git+https://github.com/maxbbb/react-native-firebase.git",
"gitUrl": "git://github.com/maxbbb/react-native-firebase.git",
"shortcut": "github:maxbbb/react-native-firebase",
"directUrl": "https://raw.githubusercontent.com/maxbbb/react-native-firebase/master/package.json"
}
},
"_requiredBy": [
"/"
],
"_resolved": "git+https://github.com/maxbbb/react-native-firebase.git#cac086a39df8ac5516549e0f17ba3f8c517cc140",
"_shasum": "d06c3ff9b09da8e493604c5f1e061c33ae3bd6b1",
"_shrinkwrap": null,
"_spec": "react-native-firebase@git+https://github.com/maxbbb/react-native-firebase.git",
"_where": "/Users/kanethomas/clique-android",
"author": {
"name": "Invertase",
"email": "[email protected]",
"url": "http://invertase.io"
},
"bugs": {
"url": "https://github.com/invertase/react-native-firebase/issues"
},
"dependencies": {
"bows": "^1.6.0",
"prop-types": "^15.5.10"
},
"description": "A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Auth, Database, Messaging (FCM), Remote Config, Storage, Admob, Analytics, Crash Reporting, and Performance.",
"devDependencies": {
"babel-eslint": "^7.0.0",
"babel-jest": "^14.1.0",
"babel-preset-react-native": "^1.9.0",
"debug": "^2.2.0",
"enzyme": "^2.4.1",
"eslint": "^3.8.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-flowtype": "^2.20.0",
"eslint-plugin-import": "^2.0.1",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.4.1",
"flow-bin": "^0.46.0",
"react": "^15.3.0",
"react-dom": "^15.3.0",
"react-native": "^0.44.0",
"wml": "0.0.82"
},
"gitHead": "cac086a39df8ac5516549e0f17ba3f8c517cc140",
"homepage": "https://github.com/invertase/react-native-firebase#readme",
"jest": {
"preset": "jest-react-native",
"setupFiles": [],
"unmockedModulePathPatterns": [
"./node_modules/react",
"./node_modules/react-native",
"./node_modules/react-native-mock",
"./node_modules/react-addons-test-utils"
]
},
"keywords": [
"react",
"admob",
"auth",
"config",
"remote-config",
"transactions",
"react-native",
"react-native-firebase",
"firebase",
"fcm",
"analytics",
"messaging",
"database",
"android",
"ios",
"crash",
"firestack",
"performance"
],
"license": "MIT",
"main": "index",
"name": "react-native-firebase",
"optionalDependencies": {},
"peerDependencies": {
"react": "*",
"react-native": ">= 0.40.0",
"fbjs": "*"
},
"readme": "# React Native Firebase<a href=\"https://invertase.io/react-native-firebase\"><img align=\"left\" src=\"http://i.imgur.com/01XQL0x.png\"></a>\n\n[](https://www.npmjs.com/package/react-native-firebase)\n[](https://www.npmjs.com/package/react-native-firebase)\n[](http://packagequality.com/#?package=react-native-firebase)\n[](/LICENSE)\n[](https://discord.gg/t6bdqMs)\n[](https://gitter.im/invertase/react-native-firebase)\n[](https://www.patreon.com/invertase)\n\n\n**RNFirebase** makes using [Firebase](http://firebase.com) with React Native simple.\n\n<hr>\n\n> [Documentation](https://invertase.io/react-native-firebase) <b>|</b> [iOS Install Guide](http://invertase.io/react-native-firebase/#/installation-ios) <b>|</b> [Android Install Guide](http://invertase.io/react-native-firebase/#/installation-android) <b>|</b> [FAQs](http://invertase.io/react-native-firebase/#/faqs) <b>|</b> [Feature Requests](https://react-native-firebase.canny.io/feature-requests)\n\n<hr>\n\n### Install\n```bash\nnpm i react-native-firebase --save\n```\n\n<hr>\n\n### Why\n\nRNFirebase is a _light-weight_ layer sitting on-top of the native Firebase libraries for both iOS and Android which mirrors the Firebase Web SDK as closely as possible.\n\nAlthough the [Firebase Web SDK](https://www.npmjs.com/package/firebase) library will work with React Native, it is mainly built for the web.\n\nRNFirebase provides a JavaScript bridge to the native Firebase SDKs for both iOS and Android therefore Firebase will run on the native thread, allowing the rest of your app to run on the [JS thread](https://facebook.github.io/react-native/docs/performance.html#javascript-frame-rate). The Firebase Web SDK also runs on the JS thread, therefore potentially affecting the frame rate causing jank with animations, touch events etc.\n\nThe native SDKs also allow us to hook into device sdk's which are not possible with the web SDK, for example crash reporting, offline realtime database support, analytics and more!\n\nAll in all, RNFirebase provides much faster performance (~2x) over the web SDK and provides device sdk's not found in the web sdk (see the feature table below).\n\n---\n## Supported Firebase Features\n> The Web SDK column indicates what modules/functionality from the Web SDK are usable within React Native.\n\n\n> '**?**' indicates partial support\n\n| Firebase Features | v1.x.x | v2.x.x | v3.x.x | Web SDK |\n| ---------------------- | :---: | :---: | :---: | :---: |\n| **AdMob** | ❌ | ✅ | ✅ | ❌ |\n| **Analytics** | ✅ | ✅ | ✅ | ❌ |\n| **App Indexing** | ❌ | ❌ | ❌ | ❌ |\n| **Authentication** | ✅ | ✅ | ✅ | ✅ |\n| _-- Phone Auth_ | ❌ | ❌ | ✅ | ❌ |\n| **Core** | ❌ |**?**| ✅ | ✅ |\n| _-- Multiple Apps_ | ❌ | ❌ | ✅ | ✅ |\n| **Cloud Messaging (FCM)** | ✅ | ✅ | ✅ |**?**|\n| **Crash Reporting** | ✅ | ✅ | ✅ | ❌ |\n| **Dynamic Links** | ❌ | ❌ | ❌ | ❌ |\n| **Invites** | ❌ | ❌ | ❌ | ❌ |\n| **Performance Monitoring** | ✅ | ✅ | ✅ | ❌ |\n| **Realtime Database** | ✅ | ✅ | ✅ | ✅ |\n| _-- Offline Persistence_ | ✅ | ✅ | ✅ |**?**|\n| _-- Transactions_ | ✅ | ✅ | ✅ | ✅ |\n| **Remote Config** | ✅ | ✅ | ✅ | ❌ |\n| **Storage** | ✅ | ✅ | ✅ |**?**|\n\n---\n### Supported versions - React Native / Firebase\n\n> The table below shows the supported version of `react-native-firebase` for different React Native versions\n\n| | v0.36 - v0.39 | v0.40 - v0.46 | v0.47 +\n| ------------------------------- | :---: | :---: | :---: |\n| react-native-firebase | 1.X.X | 2.X.X | 2.1.X |\n\n> The table below shows the minimum supported versions of the Firebase SDKs for each version of `react-native-firebase`\n\n| | v1 | v2 | v3 |\n| ---------------------- | :---: | :---: | :---: |\n| Firebase Android SDK | 10.2.0+ | 11.0.0 + | 11.2.0 + |\n| Firebase iOS SDK | 3.15.0+ | 4.0.0 + | 4.0.0 + |\n\n---\n\n### License\n\n- MIT\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/invertase/react-native-firebase.git"
},
"rnpm": {
"android": {
"buildPatch": " compile(project(':react-native-firebase')) {\n transitive = false\n }\n",
"packageImportPath": "import io.invertase.firebase.RNFirebasePackage;\nimport io.invertase.firebase.analytics.RNFirebaseAnalyticsPackage;",
"packageInstance": "new RNFirebasePackage(),\n new RNFirebaseAnalyticsPackage()"
}
},
"scripts": {
"build": "babel --source-maps=true --out-dir=dist .",
"dev": "npm run compile -- --watch",
"docs-serve-local": "docsify serve docs",
"flow": "flow",
"lint": "eslint ./src",
"publish_pages": "gh-pages -d public/",
"tests-npm-install": "cd tests && npm install",
"tests-packager": "cd tests && npm run start",
"tests-pod-install": "cd tests && npm run ios:pod:install",
"tests-watch-init": "wml add $(node --eval \"console.log(require('path').resolve('./lib'));\") $(node --eval \"console.log(require('path').resolve('./tests/firebase'));\")",
"tests-watch-start": "watchman watch $(node --eval \"console.log(require('path').resolve('./lib'));\") && wml start",
"tests-watch-stop": "watchman watch-del $(node --eval \"console.log(require('path').resolve('./lib'));\") && wml stop"
},
"version": "3.0.0-alpha.2"
}