2017-02-14 16:02:54 +00:00
|
|
|
{
|
|
|
|
"name": "react-native-firebase",
|
2018-02-22 15:54:48 +00:00
|
|
|
"version": "3.2.6",
|
2017-02-14 16:02:54 +00:00
|
|
|
"author": "Invertase <contact@invertase.io> (http://invertase.io)",
|
2017-11-08 10:04:04 +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, Messaging (FCM), Remote Config, Storage and Performance.",
|
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-01-30 16:43:27 +00:00
|
|
|
"build": "genversion lib/version.js && npm run validate-ts-declarations && npm run build-lib && npm run build-flow",
|
2017-11-17 16:17:27 +00:00
|
|
|
"build-flow": "flow-copy-source -i */__tests__* lib dist",
|
2018-01-30 16:43:27 +00:00
|
|
|
"build-lib": "BABEL_ENV=publish babel lib -d dist --ignore __tests__ --copy-files",
|
2017-11-17 16:17:27 +00:00
|
|
|
"clean": "rimraf dist/",
|
2017-08-26 02:59:27 +00:00
|
|
|
"flow": "flow",
|
2018-02-01 11:52:39 +00:00
|
|
|
"format:assets": "prettier --ignore-path .gitignore --write \"**/*.{json,md}\"",
|
|
|
|
"format": "npm run format:assets && npm run lint -- --fix",
|
2018-01-25 18:11:37 +00:00
|
|
|
"lint": "eslint ./lib ./tests/src ./tests/lib",
|
2018-01-25 18:36:13 +00:00
|
|
|
"precommit": "lint-staged",
|
2017-11-17 16:17:27 +00:00
|
|
|
"prepublish": "npm run clean && npm run build",
|
2017-12-01 17:10:05 +00:00
|
|
|
"postinstall": "postinstall-build dist && opencollective postinstall || exit 0",
|
2017-09-25 10:32:18 +00:00
|
|
|
"test-cli": "node ./bin/test.js",
|
2017-05-01 15:01:00 +00:00
|
|
|
"tests-packager": "cd tests && npm run start",
|
2017-08-26 02:59:27 +00:00
|
|
|
"tests-npm-install": "cd tests && npm install",
|
|
|
|
"tests-pod-install": "cd tests && npm run ios:pod:install",
|
2017-09-25 10:32:18 +00:00
|
|
|
"tests-watch-start": "npm run test-cli watch init start",
|
2018-01-26 16:38:13 +00:00
|
|
|
"tests-watch-stop": "npm run test-cli watch stop",
|
|
|
|
"validate-ts-declarations": "tsc --project ./"
|
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-02-14 15:10:41 +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
|
|
|
},
|
2017-09-11 14:02:44 +00:00
|
|
|
"license": "APACHE-2.0",
|
2018-02-14 15:10:41 +00:00
|
|
|
"keywords": [
|
|
|
|
"react",
|
|
|
|
"admob",
|
|
|
|
"auth",
|
|
|
|
"config",
|
|
|
|
"digits",
|
|
|
|
"fabric",
|
|
|
|
"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": {
|
|
|
|
"react": "*",
|
2017-10-05 12:09:14 +00:00
|
|
|
"react-native": ">= 0.48.0",
|
2017-08-25 14:30:17 +00:00
|
|
|
"fbjs": "*"
|
2017-02-14 16:02:54 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-11-17 16:17:27 +00:00
|
|
|
"babel-cli": "^6.26.0",
|
2017-02-14 16:02:54 +00:00
|
|
|
"babel-eslint": "^7.0.0",
|
|
|
|
"babel-jest": "^14.1.0",
|
|
|
|
"babel-preset-react-native": "^1.9.0",
|
2017-11-17 16:17:27 +00:00
|
|
|
"babel-preset-react-native-syntax": "^1.0.0",
|
2017-02-14 16:02:54 +00:00
|
|
|
"debug": "^2.2.0",
|
|
|
|
"enzyme": "^2.4.1",
|
2017-11-17 11:07:52 +00:00
|
|
|
"eslint": "^4.11.0",
|
|
|
|
"eslint-config-airbnb": "^16.1.0",
|
2018-01-25 18:11:37 +00:00
|
|
|
"eslint-config-prettier": "^2.9.0",
|
2017-11-17 11:07:52 +00:00
|
|
|
"eslint-plugin-flowtype": "^2.39.1",
|
|
|
|
"eslint-plugin-import": "^2.8.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.2",
|
2018-01-25 18:11:37 +00:00
|
|
|
"eslint-plugin-prettier": "^2.5.0",
|
2017-11-17 11:07:52 +00:00
|
|
|
"eslint-plugin-react": "^7.4.0",
|
2018-01-16 17:08:44 +00:00
|
|
|
"flow-bin": "^0.61.0",
|
2017-11-17 16:17:27 +00:00
|
|
|
"flow-copy-source": "^1.2.1",
|
2018-01-09 17:31:54 +00:00
|
|
|
"genversion": "^2.0.1",
|
2018-01-25 18:11:37 +00:00
|
|
|
"husky": "^0.14.3",
|
|
|
|
"lint-staged": "^6.0.1",
|
|
|
|
"prettier": "1.10.2",
|
2018-01-16 17:08:44 +00:00
|
|
|
"react": "^16.2.0",
|
|
|
|
"react-dom": "^16.2.0",
|
|
|
|
"react-native": "^0.52.0",
|
2017-11-17 16:17:27 +00:00
|
|
|
"rimraf": "^2.6.2",
|
2017-09-25 10:32:18 +00:00
|
|
|
"shelljs": "^0.7.8",
|
2018-01-26 16:38:13 +00:00
|
|
|
"typescript": "^2.6.2",
|
2017-05-01 16:06:40 +00:00
|
|
|
"wml": "0.0.82"
|
2017-02-14 16:02:54 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-10-05 12:16:01 +00:00
|
|
|
"bows": "^1.6.0",
|
2017-11-03 19:39:11 +00:00
|
|
|
"opencollective": "^1.0.3",
|
2017-11-29 10:06:06 +00:00
|
|
|
"postinstall-build": "^5.0.1",
|
2017-10-05 12:16:01 +00:00
|
|
|
"prop-types": "^15.6.0"
|
2017-08-10 16:26:27 +00:00
|
|
|
},
|
|
|
|
"rnpm": {
|
|
|
|
"android": {
|
|
|
|
"buildPatch": " compile(project(':react-native-firebase')) {\n transitive = false\n }\n",
|
2017-10-05 10:54:37 +00:00
|
|
|
"packageImportPath": "import io.invertase.firebase.RNFirebasePackage;",
|
|
|
|
"packageInstance": "new RNFirebasePackage()"
|
|
|
|
},
|
|
|
|
"commands": {
|
|
|
|
"postlink": "node node_modules/react-native-firebase/scripts/rnpm-postlink"
|
2017-08-10 16:26:27 +00:00
|
|
|
}
|
2017-11-03 19:39:11 +00:00
|
|
|
},
|
|
|
|
"collective": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/react-native-firebase",
|
|
|
|
"logo": "https://opencollective.com/opencollective/logo.txt"
|
2018-01-25 18:36:13 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2018-02-14 15:10:41 +00:00
|
|
|
"lib/**/*.js": [
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"tests/{src|lib}/**/*.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
|
|
|
}
|