2017-02-14 16:02:54 +00:00
|
|
|
{
|
|
|
|
"name": "react-native-firebase",
|
2018-08-20 11:56:35 +00:00
|
|
|
"version": "5.0.0-rc1",
|
2018-08-05 01:23:09 +00:00
|
|
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
2018-05-07 18:28:01 +00:00
|
|
|
"description": "A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Storage and more.",
|
2017-11-17 16:17:27 +00:00
|
|
|
"main": "dist/index.js",
|
2017-12-06 08:59:00 +00:00
|
|
|
"types": "dist/index.d.ts",
|
2017-02-14 16:02:54 +00:00
|
|
|
"scripts": {
|
2018-08-24 14:34:20 +00:00
|
|
|
"build": "genversion src/version.js && npm run build-src",
|
2018-08-05 01:23:09 +00:00
|
|
|
"build-src": "BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files",
|
2018-08-24 14:34:20 +00:00
|
|
|
"build-flow": "flow-copy-source -i */__tests__* src dist",
|
2018-08-05 01:23:09 +00:00
|
|
|
"build-src-watch": "genversion src/version.js && BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files --watch",
|
2018-08-24 14:34:20 +00:00
|
|
|
"lint": "eslint ./src",
|
2017-11-17 16:17:27 +00:00
|
|
|
"clean": "rimraf dist/",
|
2018-08-24 14:34:20 +00:00
|
|
|
"validate-ts-declarations": "tsc --project ./",
|
|
|
|
"validate-flow-declarations": "flow",
|
2018-02-01 11:52:39 +00:00
|
|
|
"format": "npm run format:assets && npm run lint -- --fix",
|
2018-08-24 14:34:20 +00:00
|
|
|
"format:assets": "prettier --ignore-path .gitignore --write \"**/*.{json,md}\"",
|
|
|
|
"prepare": "npm run clean && npm run build && npm run build-flow",
|
2018-01-25 18:36:13 +00:00
|
|
|
"precommit": "lint-staged",
|
2018-08-24 14:34:20 +00:00
|
|
|
"postinstall": "opencollective-postinstall || exit 0",
|
|
|
|
"prepublishOnly": "npm run validate-ts-declarations && npm run validate-flow-declarations"
|
2017-02-14 16:02:54 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/invertase/react-native-firebase.git"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"preset": "jest-react-native",
|
|
|
|
"setupFiles": [],
|
2018-08-05 01:23:09 +00:00
|
|
|
"unmockedModulePathPatterns": [
|
|
|
|
"./node_modules/react",
|
|
|
|
"./node_modules/react-native",
|
|
|
|
"./node_modules/react-native-mock",
|
|
|
|
"./node_modules/react-addons-test-utils"
|
|
|
|
]
|
2017-02-14 16:02:54 +00:00
|
|
|
},
|
2018-07-11 13:41:52 +00:00
|
|
|
"license": "Apache-2.0",
|
2018-08-05 01:23:09 +00:00
|
|
|
"keywords": [
|
|
|
|
"react",
|
|
|
|
"admob",
|
|
|
|
"auth",
|
|
|
|
"config",
|
|
|
|
"digits",
|
|
|
|
"fabric",
|
|
|
|
"functions",
|
|
|
|
"phone-auth",
|
|
|
|
"sms",
|
|
|
|
"firestore",
|
|
|
|
"cloud-firestore",
|
|
|
|
"datastore",
|
|
|
|
"remote-config",
|
|
|
|
"transactions",
|
|
|
|
"react-native",
|
|
|
|
"react-native-firebase",
|
|
|
|
"firebase",
|
|
|
|
"fcm",
|
|
|
|
"apn",
|
|
|
|
"gcm",
|
|
|
|
"analytics",
|
|
|
|
"messaging",
|
|
|
|
"database",
|
|
|
|
"android",
|
|
|
|
"ios",
|
|
|
|
"crash",
|
|
|
|
"firestack",
|
|
|
|
"performance",
|
|
|
|
"firestore",
|
|
|
|
"dynamic-links",
|
|
|
|
"crashlytics"
|
|
|
|
],
|
2017-02-14 16:02:54 +00:00
|
|
|
"peerDependencies": {
|
2018-08-05 01:23:09 +00:00
|
|
|
"react": ">= 16.4.1",
|
|
|
|
"react-native": ">= 0.56.0",
|
2017-08-25 14:30:17 +00:00
|
|
|
"fbjs": "*"
|
2017-02-14 16:02:54 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-09-03 16:27:37 +00:00
|
|
|
"@babel/cli": "^7.0.0",
|
2018-09-03 12:09:42 +00:00
|
|
|
"@babel/core": "^7.0.0",
|
2018-09-03 16:27:37 +00:00
|
|
|
"@invertase/babel-preset-react-native-syntax": "^0.1.3",
|
2018-09-03 12:10:22 +00:00
|
|
|
"babel-eslint": "^9.0.0",
|
2018-09-03 16:27:37 +00:00
|
|
|
"eslint": "^5.5.0",
|
2018-08-05 01:23:09 +00:00
|
|
|
"eslint-config-airbnb": "^17.0.0",
|
2018-08-24 14:34:20 +00:00
|
|
|
"eslint-config-prettier": "^3.0.1",
|
2018-08-05 01:23:09 +00:00
|
|
|
"eslint-plugin-flowtype": "^2.50.0",
|
|
|
|
"eslint-plugin-import": "^2.13.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.1.1",
|
|
|
|
"eslint-plugin-prettier": "^2.6.2",
|
|
|
|
"eslint-plugin-react": "^7.10.0",
|
2018-09-03 16:27:37 +00:00
|
|
|
"flow-bin": "^0.80.0",
|
2018-08-05 01:23:09 +00:00
|
|
|
"flow-copy-source": "^2.0.2",
|
|
|
|
"genversion": "^2.1.0",
|
2018-01-25 18:11:37 +00:00
|
|
|
"husky": "^0.14.3",
|
2018-09-03 16:27:37 +00:00
|
|
|
"lint-staged": "^7.2.2",
|
2018-08-24 14:34:20 +00:00
|
|
|
"prettier": "^1.14.2",
|
2018-08-05 01:23:09 +00:00
|
|
|
"react": "^16.4.1",
|
|
|
|
"react-dom": "^16.4.1",
|
|
|
|
"react-native": "^0.56.0",
|
2018-09-03 16:27:37 +00:00
|
|
|
"typescript": "^3.0.3"
|
2017-02-14 16:02:54 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-08-24 13:47:56 +00:00
|
|
|
"opencollective-postinstall": "^2.0.0",
|
2018-08-05 01:23:09 +00:00
|
|
|
"prop-types": "^15.6.2"
|
2017-08-10 16:26:27 +00:00
|
|
|
},
|
|
|
|
"rnpm": {
|
|
|
|
"android": {
|
2018-05-13 00:35:44 +00:00
|
|
|
"buildPatch": " implementation project(':react-native-firebase')",
|
2017-10-05 10:54:37 +00:00
|
|
|
"packageImportPath": "import io.invertase.firebase.RNFirebasePackage;",
|
|
|
|
"packageInstance": "new RNFirebasePackage()"
|
2017-08-10 16:26:27 +00:00
|
|
|
}
|
2017-11-03 19:39:11 +00:00
|
|
|
},
|
|
|
|
"collective": {
|
|
|
|
"type": "opencollective",
|
2018-03-27 15:35:02 +00:00
|
|
|
"url": "https://opencollective.com/react-native-firebase"
|
2018-01-25 18:36:13 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2018-08-05 01:23:09 +00:00
|
|
|
"src/**/*.js": [
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.{json,md,scss}": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
2017-08-10 20:21:16 +00:00
|
|
|
}
|
2017-11-06 16:59:22 +00:00
|
|
|
}
|