mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-13 09:29:39 +08:00
> You can [learn more about this here](https://blog.invertase.io/react-native-firebase-2019-7e334ca9bcc6).
114 lines
5.0 KiB
JSON
114 lines
5.0 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"prepare": "yarn run lerna:link && lerna run prepare",
|
|
"build:all:clean": "lerna run build:clean",
|
|
"build:all:build": "lerna run build",
|
|
"build:all:src": "lerna run build:src",
|
|
"validate:all:js": "eslint ./",
|
|
"validate:all:ts": "tsc --project ./",
|
|
"validate:all:flow": "flow",
|
|
"lerna:boostrap": "lerna bootstrap",
|
|
"lerna:link": "lerna link && lerna exec -- yarn link",
|
|
"gen:reference": "typedoc --json typedoc.json --mode file --includeDeclarations --excludeExternals",
|
|
"tests:packager:chrome": "cd tests && react-native start --platforms ios,android",
|
|
"tests:packager:jet": "REACT_DEBUGGER='echo nope' cd tests && react-native start",
|
|
"tests:packager:jet-reset-cache": "REACT_DEBUGGER='echo nope' cd tests && react-native start --reset-cache",
|
|
"tests:android:build": "cd tests && detox build --configuration android.emu.debug",
|
|
"tests:android:build-release": "cd tests && detox build --configuration android.emu.release",
|
|
"tests:android:test": "cd tests && detox test --configuration android.emu.debug",
|
|
"tests:android:test-reuse": "cd tests && detox test --configuration android.emu.debug --reuse",
|
|
"tests:android:test-cover": "cd tests && nyc ./node_modules/.bin/detox test --configuration android.emu.debug",
|
|
"tests:android:test-cover-reuse": "cd tests && nyc detox test --configuration android.emu.debug --reuse",
|
|
"tests:ios:build": "cd tests && detox build --configuration ios.sim.debug",
|
|
"tests:ios:build-release": "cd tests && detox build --configuration ios.sim.release",
|
|
"tests:ios:test": "cd tests && detox test --configuration ios.sim.debug --loglevel warn",
|
|
"tests:ios:test-reuse": "cd tests && detox test --configuration ios.sim.debug --reuse --loglevel warn",
|
|
"tests:ios:test-cover": "cd tests && nyc ./node_modules/.bin/detox test --configuration ios.sim.debug",
|
|
"tests:ios:test-cover-reuse": "cd tests && nyc detox test --configuration ios.sim.debug --reuse --loglevel warn",
|
|
"tests:ios:pod:install": "cd tests && cd ios && rm -rf ReactNativeFirebaseDemo.xcworkspace && pod install && cd ..",
|
|
"npm:version:release:patch": "echo '!!\uD83D\uDD34!! RELEASE !!\uD83D\uDD34!!' && lerna version patch --exact --force-publish=*",
|
|
"npm:version:release:minor": "echo '!!\uD83D\uDD34!! RELEASE !!\uD83D\uDD34!!' && lerna version minor --exact --force-publish=*",
|
|
"npm:version:release:major": "echo '!!\uD83D\uDD34!! RELEASE !!\uD83D\uDD34!!' && lerna version major --exact --force-publish=*",
|
|
"npm:version:6:alpha": "lerna version prerelease --preid alpha --no-git-tag-version --no-push --force-publish=*",
|
|
"npm:version:6:beta": "lerna version prerelease --exact --preid beta --no-git-tag-version --no-push --force-publish=*",
|
|
"npm:version:6:rc": "lerna version prerelease --exact --preid rc --no-git-tag-version --no-push --force-publish=*",
|
|
"npm:publish:6:alpha": "lerna publish from-package --dist-tag alpha --no-git-reset",
|
|
"npm:publish:6:beta": "lerna publish from-package --dist-tag beta --no-git-reset",
|
|
"npm:publish:6:rc": "lerna publish from-package --dist-tag rc --no-git-reset",
|
|
"npm:publish:alpha:nightly": "lerna publish from-package --canary --preid alpha --dist-tag alpha --no-git-reset",
|
|
"npm:publish:release": "echo '!!\uD83D\uDD34!! RELEASE !!\uD83D\uDD34!!' && echo '!!!!! RELEASE !!!!!!' && lerna publish from-package"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.2.3",
|
|
"@babel/core": "^7.2.2",
|
|
"codecov": "^3.1.0",
|
|
"@babel/plugin-transform-runtime": "^7.2.0",
|
|
"@babel/runtime": "^7.2.0",
|
|
"@invertase/babel-preset-react-native-syntax": "^0.1.3",
|
|
"babel-eslint": "^10.0.1",
|
|
"eslint": "^5.12.1",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-config-prettier": "^3.6.0",
|
|
"eslint-plugin-flowtype": "^3.2.1",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.2",
|
|
"eslint-plugin-prettier": "^3.0.1",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"flow-bin": "^0.89.0",
|
|
"genversion": "^2.1.1",
|
|
"husky": "^1.2.1",
|
|
"lerna": "^3.6.0",
|
|
"lint-staged": "^8.1.0",
|
|
"prettier": "^1.15.3",
|
|
"rimraf": "^2.6.3",
|
|
"tslint": "^5.12.1",
|
|
"tslint-config-airbnb": "^5.11.1",
|
|
"tslint-config-prettier": "^1.17.0",
|
|
"tslint-plugin-prettier": "^2.0.1",
|
|
"typedoc": "^0.14.1",
|
|
"typescript": "^3.2.4"
|
|
},
|
|
"lint-staged": {
|
|
"packages/**/*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"tests/**/*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"tests"
|
|
],
|
|
"nohoist": [
|
|
"detox",
|
|
"**/detox",
|
|
"**/detox/**",
|
|
"**/babel-plugin-istanbul",
|
|
"**/babel-plugin-istanbul/**",
|
|
"**/patch-package",
|
|
"**/patch-package/**",
|
|
"**/jet",
|
|
"**/jet/**",
|
|
"**/nyc",
|
|
"**/nyc/**",
|
|
"**/react",
|
|
"**/react/**",
|
|
"**/react-native",
|
|
"**/react-native/**"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.18.0"
|
|
}
|
|
}
|