-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 8.59 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 8.59 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "react-native-firebase",
"private": true,
"scripts": {
"version": "node ./scripts/version.js",
"postinstallDev": "yarn prepare && yarn lerna:prepare",
"prepare": "patch-package",
"lerna:prepare": "lerna run prepare",
"lerna:clean": "lerna clean",
"build:all:clean": "lerna run build:clean",
"build:all:build": "lerna run build",
"test:functions:build": "cd .github/workflows/scripts/functions && yarn build",
"compare:types": "cd .github/scripts/compare-types && yarn install && yarn compare",
"codegen:all": "lerna run codegen",
"lint": "yarn lint:js && yarn lint:android && yarn lint:ios:check",
"lint:js": "eslint packages/* --max-warnings=0",
"lint:android": "(find packages/*/android/src -name '*.java' -not -path '*/generated/*' -print0 | xargs -0 google-java-format --set-exit-if-changed --replace || (echo \"\n\nandroid formatting error - please re-run\n\n\" && exit 1)) && (git diff --exit-code packages/*/android/src || (echo \"\n\nandroid files changed from linting, please examine and commit result\n\n\" && exit 1))",
"lint:ios:check": "find packages/*/ios -type f \\( -name '*.h' -o -name '*.cpp' -o -name '*.m' -o -name '*.mm' \\) -not -path '*/generated/*' -print0 | xargs -0 clang-format --style=Google -n -Werror",
"lint:ios:fix": "find packages/*/ios -type f \\( -name '*.h' -o -name '*.cpp' -o -name '*.m' -o -name '*.mm' \\) -not -path '*/generated/*' -print0 | xargs -0 clang-format -i --style=Google",
"lint:markdown": "prettier --check \"docs/**/*.mdx\" && eslint \"docs/**/*.mdx\" --max-warnings=0",
"lint:report": "eslint --output-file=eslint-report.json --format=json . --ext .js,.jsx,.ts,.tsx",
"lint:spellcheck": "spellchecker --quiet --files=\"docs/**/*.md\" --dictionaries=\"./.spellcheck.dict.txt\" --reports=\"spelling.json\" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter",
"tsc:compile": "tsc --project .",
"tsc:compile:consumer": "tsc --project tsconfig.consumer.json",
"lint:all": "yarn lint && yarn lint:markdown && yarn lint:spellcheck && yarn tsc:compile",
"test:full": "bash ./scripts/run-full-tests.sh",
"reference:api": "typedoc",
"reference:api:gh-pages": "typedoc --out apidocs-out --hostedBaseUrl https://reference.rnfirebase.io/ --useHostedBaseUrlForAbsoluteLinks",
"tests:ai:mocks": "yarn ts-node ./scripts/fetch_ai_mock_responses.ts && yarn ts-node ./packages/ai/__tests__/test-utils/convert-mocks.ts",
"tests:jest": "jest",
"tests:jest-watch": "jest --watch",
"tests:jest-coverage": "jest --coverage",
"tests:packager:chrome": "cd tests && yarn react-native start --reset-cache",
"tests:packager:jet": "cd tests && yarn react-native start --client-logs",
"tests:packager:jet-ci": "cd tests && (mkdir $HOME/.metro || true) && cross-env TMPDIR=$HOME/.metro yarn react-native start",
"tests:packager:jet-reset-cache": "cd tests && yarn react-native start --reset-cache",
"tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build",
"tests:emulator:start": "run-script-os",
"tests:emulator:start:default": "yarn tests:emulator:prepare && cd ./.github/workflows/scripts && ./start-firebase-emulator.sh --no-daemon",
"tests:emulator:start:windows": "yarn tests:emulator:prepare && cd ./.github/workflows/scripts && ./start-firebase-emulator.bat --no-daemon",
"tests:emulator:start-ci": "yarn tests:emulator:prepare && cd ./.github/workflows/scripts && ./start-firebase-emulator.sh",
"tests:android:build": "run-script-os",
"tests:android:build:default": "cd tests && yarn detox build --configuration android.emu.debug",
"tests:android:build:windows": "cd tests && yarn detox build --configuration android.emu.debug.windows",
"tests:android:build:release": "cd tests && yarn detox build --configuration android.emu.release",
"tests:android:manual": "cd tests && yarn react-native run-android",
"tests:android:test": "cd tests && yarn detox test --configuration android.emu.debug",
"tests:android:test:debug": "cd tests && yarn detox test --configuration android.emu.debug --inspect",
"tests:android:test-reuse": "cd tests && yarn detox test --configuration android.emu.debug --reuse",
"tests:android:test-cover": "cd tests && yarn detox test --configuration android.emu.debug --loglevel verbose",
"tests:android:test-cover-reuse": "cd tests && yarn detox test --configuration android.emu.debug --reuse",
"tests:android:test:jacoco-report": "cd tests/android && ./gradlew jacocoAndroidTestReport",
"tests:ios:build": "cd tests && yarn detox build --configuration ios.sim.debug",
"tests:ios:build:release": "cd tests && yarn detox build --configuration ios.sim.release",
"tests:ios:manual": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ yarn react-native run-ios",
"tests:ios:test": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 yarn detox test --configuration ios.sim.debug --loglevel warn",
"tests:ios:test:release": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 yarn detox test --configuration ios.sim.release --loglevel warn",
"tests:ios:test:debug": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 yarn detox test --configuration ios.sim.debug --loglevel warn --inspect",
"tests:ios:test-reuse": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
"tests:ios:test-cover": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 yarn detox test --configuration ios.sim.debug --loglevel verbose",
"tests:ios:test-cover-reuse": "cd tests && SIMCTL_CHILD_GULGeneratedClassDisposeDisabled=1 node_modules/.bin/nyc yarn detox test --configuration ios.sim.debug --reuse --loglevel warn",
"tests:ios:pod:install": "cd tests && rm -f ios/Podfile.lock && rm -rf ios/ReactNativeFirebaseDemo.xcworkspace && cd ios && pod install",
"tests:macos:build": "cd tests && yarn build:macos",
"tests:macos:pod:install": "cd tests && rm -f macos/Podfile.lock && cd macos && pod install",
"tests:macos:manual": "cd tests && yarn react-native run-macos",
"tests:macos:test": "cd tests && npx jet --target=macos --coverage",
"tests:macos:test-cover": "cd tests && npx jet --target=macos --coverage",
"format:js": "prettier --write \"packages/**/*.{js,ts,tsx}\"",
"format:markdown": "prettier --write \"docs/**/*.md[x]\""
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-class-properties": "^7.28.6",
"@babel/preset-env": "^7.29.3",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@firebase/rules-unit-testing": "^5.0.0",
"@inquirer/prompts": "^8.4.2",
"@octokit/core": "^7.0.6",
"@react-native-community/cli": "latest",
"@tsconfig/node-lts": "^24.0.0",
"@types/react": "~19.2.14",
"@types/react-native": "^0.73.0",
"@typescript-eslint/parser": "^8.59.1",
"babel-jest": "^30.3.0",
"clang-format": "^1.8.0",
"conventional-changelog-cli": "^4.1.0",
"cross-env": "^10.1.0",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.15.2",
"eslint-plugin-mdx": "^3.7.0",
"eslint-plugin-mocha": "^11.2.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"firebase": "^12.12.1",
"firebase-tools": "^15.16.0",
"genversion": "^3.2.0",
"google-java-format": "^2.2.0",
"jest": "^30.3.0",
"lerna": "^9.0.7",
"patch-package": "^8.0.1",
"prettier": "^3.8.3",
"regenerator-transform": "^0.15.2",
"rimraf": "^6.1.3",
"run-script-os": "^1.1.6",
"shelljs": "^0.10.0",
"spellchecker-cli": "^7.0.3",
"ts-jest": "^29.4.9",
"ts-node": "^10.9.2",
"typedoc": "^0.28.19",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.1"
},
"resolutions": {
"@types/react": "~19.0.0"
},
"workspaces": {
"packages": [
"packages/*",
"tests"
]
},
"packageManager": "yarn@4.14.1",
"dependenciesMeta": {
"@firebase/util": {
"built": true
},
"detox": {
"built": true
},
"dtrace-provider": {
"built": true
},
"nx": {
"built": true
},
"postinstall-postinstall": {
"built": true
},
"protobufjs": {
"built": true
},
"re2": {
"built": true
},
"unrs-resolver": {
"built": true
}
}
}