127 lines
3.7 KiB
JSON
127 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 build-src",
|
|
"build-src": "BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files",
|
|
"build-flow": "flow-copy-source -i */__tests__* src dist",
|
|
"build-src-watch": "genversion src/version.js && BABEL_ENV=development babel src -d dist --ignore __tests__ --copy-files --watch",
|
|
"lint": "eslint ./src",
|
|
"clean": "rimraf dist/",
|
|
"validate-ts-declarations": "tsc --project ./",
|
|
"validate-flow-declarations": "flow",
|
|
"format": "npm run format:assets && npm run lint -- --fix",
|
|
"format:assets": "prettier --ignore-path .gitignore --write \"**/*.{json,md}\"",
|
|
"prepare": "npm run clean && npm run build && npm run build-flow",
|
|
"precommit": "lint-staged",
|
|
"postinstall": "opencollective-postinstall || exit 0",
|
|
"prepublishOnly": "npm run validate-ts-declarations && npm run validate-flow-declarations"
|
|
},
|
|
"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.57.0-rc.3",
|
|
"fbjs": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0",
|
|
"@babel/core": "^7.0.0",
|
|
"@invertase/babel-preset-react-native-syntax": "^0.1.3",
|
|
"babel-eslint": "^9.0.0",
|
|
"eslint": "^5.5.0",
|
|
"eslint-config-airbnb": "^17.0.0",
|
|
"eslint-config-prettier": "^3.0.1",
|
|
"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.80.0",
|
|
"flow-copy-source": "^2.0.2",
|
|
"genversion": "^2.1.0",
|
|
"husky": "^0.14.3",
|
|
"lint-staged": "^7.2.2",
|
|
"prettier": "^1.14.2",
|
|
"react": "^16.4.1",
|
|
"react-dom": "^16.4.1",
|
|
"react-native": "^0.57.0-rc.3",
|
|
"typescript": "^3.0.3"
|
|
},
|
|
"dependencies": {
|
|
"opencollective-postinstall": "^2.0.0",
|
|
"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"
|
|
]
|
|
}
|
|
}
|