forked from invertase/react-native-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 5.79 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "react-native-firebase",
"private": true,
"scripts": {
"prepare": "yarn run lerna:link && lerna run prepare",
"build:all:clean": "lerna run build:clean",
"build:all:build": "lerna run build",
"validate:all:js": "eslint ./",
"validate:all:ts": "tsc --project ./ && tslint --project tsconfig.json -c tslint.json packages/**/**/*.ts",
"validate:all:flow": "flow",
"lerna:bootstrap": "lerna bootstrap",
"lerna:link": "lerna link && lerna exec -- yarn link",
"gen:reference": "node scripts/generate-typedoc.js",
"tests:packager:chrome": "cd tests && node_modules/.bin/react-native start --platforms ios,android",
"tests:packager:jet": "cd tests && cross-env REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start",
"tests:packager:jet-reset-cache": "cd tests & cross-env REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --reset-cache",
"tests:android:build": "cd tests && ./node_modules/.bin/detox build --configuration android.emu.debug",
"tests:android:build-release": "cd tests && ./node_modules/.bin/detox build --configuration android.emu.release",
"tests:android:test": "cd tests && ./node_modules/.bin/detox test --configuration android.emu.debug",
"tests:android:test-reuse": "cd tests && ./node_modules/.bin/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 ./node_modules/.bin/detox test --configuration android.emu.debug --reuse",
"tests:ios:build": "cd tests && ./node_modules/.bin/detox build --configuration ios.sim.debug",
"tests:ios:build-release": "cd tests && ./node_modules/.bin/detox build --configuration ios.sim.release",
"tests:ios:test": "cd tests && ./node_modules/.bin/detox test --configuration ios.sim.debug --loglevel warn",
"tests:ios:test-reuse": "cd tests && ./node_modules/.bin/detox test --configuration ios.sim.debug --reuse --loglevel warn",
"tests:ios:test-cover": "cd tests && node_modules/.bin/nyc ./node_modules/.bin/detox test --configuration ios.sim.debug",
"tests:ios:test-cover-reuse": "cd tests && node_modules/.bin/nyc ./node_modules/.bin/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 '!!🔴!! RELEASE !!🔴!!' && lerna version patch --exact --force-publish=*",
"npm:version:release:minor": "echo '!!🔴!! RELEASE !!🔴!!' && lerna version minor --exact --force-publish=*",
"npm:version:release:major": "echo '!!🔴!! RELEASE !!🔴!!' && lerna version major --exact --force-publish=*",
"npm:version:6:alpha": "lerna version prerelease --preid alpha --no-git-tag-version --no-push --exact --force-publish=*",
"npm:version:6:beta": "lerna version prerelease --exact --preid beta --no-git-tag-version --no-push --exact --force-publish=*",
"npm:version:6:rc": "lerna version prerelease --exact --preid rc --no-git-tag-version --no-push --exact --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 '!!🔴!! RELEASE !!🔴!!' && echo '!!!!! RELEASE !!!!!!' && lerna publish from-package --dist-tag latest --no-git-reset"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/runtime": "^7.4.2",
"@invertase/babel-preset-react-native-syntax": "^0.1.3",
"babel-eslint": "^10.0.1",
"codecov": "^3.2.0",
"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-flowtype": "^3.9.1",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"flow-bin": "^0.100.0",
"genversion": "^2.1.1",
"husky": "^1.3.1",
"lerna": "^3.13.1",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"rimraf": "^2.6.3",
"tslint": "^5.15.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"typedoc": "^0.14.2",
"typescript": "^3.4.1"
},
"lint-staged": {
"packages/**/*.js": [
"eslint --fix",
"git add"
],
"tests/**/*.js": [
"eslint --fix",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"workspaces": {
"packages": [
"packages/*",
"packages/template/project",
"tests"
],
"nohoist": [
"packages/template/project/react-native", "packages/template/project/react-native/**",
"detox",
"**/detox",
"**/detox/**",
"**/react-native-gifted-chat/**",
"**/react-native-port-patcher/**",
"**/prop-types/**",
"**/@react-native-firebase/private-tests-helpers",
"**/@react-native-firebase/private-tests-helpers/**",
"**/babel-plugin-istanbul",
"**/babel-plugin-istanbul/**",
"**/patch-package",
"**/patch-package/**",
"**/jet",
"**/jet/**",
"**/nyc",
"**/nyc/**",
"**/react",
"**/react/**",
"**/react-native",
"**/react-native/**",
"**/stacktrace-js",
"**/stacktrace-js/**"
]
},
"dependencies": {
"axios": "^0.19.0",
"inquirer": "^6.2.2",
"shelljs": "^0.8.3"
}
}