128 lines
3.7 KiB
JSON
128 lines
3.7 KiB
JSON
{
|
|
"name": "react-native-firebase",
|
|
"version": "5.0.0-rc1",
|
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
"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.",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "genversion src/version.js && npm run validate-ts-declarations && npm run build-src && npm run build-flow",
|
|
"build-flow": "flow-copy-source -i */__tests__* src dist",
|
|
"build-src": "BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files",
|
|
"build-src-watch": "genversion src/version.js && BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files --watch",
|
|
"clean": "rimraf dist/",
|
|
"flow": "flow",
|
|
"format:assets": "prettier --ignore-path .gitignore --write \"**/*.{json,md}\"",
|
|
"format": "npm run format:assets && npm run lint -- --fix",
|
|
"lint": "eslint ./src",
|
|
"precommit": "lint-staged",
|
|
"prepublish": "npm run clean && npm run build",
|
|
"postinstall": "postinstall-build dist && opencollective postinstall || exit 0",
|
|
"validate-ts-declarations": "tsc --project ./"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/invertase/react-native-firebase.git"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"license": "Apache-2.0",
|
|
"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"
|
|
],
|
|
"peerDependencies": {
|
|
"react": ">= 16.4.1",
|
|
"react-native": ">= 0.56.0",
|
|
"fbjs": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.0.0-beta.47",
|
|
"@babel/cli": "7.0.0-beta.47",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-preset-react-native": "^5.0.2",
|
|
"@invertase/babel-preset-react-native-syntax": "^0.1.0",
|
|
"eslint": "^5.3.0",
|
|
"eslint-config-airbnb": "^17.0.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"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",
|
|
"flow-bin": "^0.78.0",
|
|
"flow-copy-source": "^2.0.2",
|
|
"genversion": "^2.1.0",
|
|
"husky": "^0.14.3",
|
|
"lint-staged": "^7.2.0",
|
|
"prettier": "1.14.0",
|
|
"react": "^16.4.1",
|
|
"react-dom": "^16.4.1",
|
|
"react-native": "^0.56.0",
|
|
"typescript": "^3.0.1"
|
|
},
|
|
"dependencies": {
|
|
"opencollective": "^1.0.3",
|
|
"postinstall-build": "^5.0.1",
|
|
"prop-types": "^15.6.2"
|
|
},
|
|
"rnpm": {
|
|
"android": {
|
|
"buildPatch": " implementation project(':react-native-firebase')",
|
|
"packageImportPath": "import io.invertase.firebase.RNFirebasePackage;",
|
|
"packageInstance": "new RNFirebasePackage()"
|
|
}
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/react-native-firebase"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.{json,md,scss}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|