1 | {
|
2 | "name": "firebase-functions",
|
3 | "version": "6.0.0",
|
4 | "description": "Firebase SDK for Cloud Functions",
|
5 | "keywords": [
|
6 | "firebase",
|
7 | "functions",
|
8 | "google",
|
9 | "cloud"
|
10 | ],
|
11 | "homepage": "https://github.com/firebase/firebase-functions#readme",
|
12 | "bugs": {
|
13 | "url": "https://github.com/firebase/firebase-functions/issues"
|
14 | },
|
15 | "repository": {
|
16 | "type": "git",
|
17 | "url": "https://github.com/firebase/firebase-functions.git"
|
18 | },
|
19 | "license": "MIT",
|
20 | "author": "Firebase Team",
|
21 | "files": [
|
22 | "lib",
|
23 | "protos"
|
24 | ],
|
25 | "main": "lib/v2/index.js",
|
26 | "bin": {
|
27 | "firebase-functions": "./lib/bin/firebase-functions.js"
|
28 | },
|
29 | "types": "lib/v2/index.d.ts",
|
30 | "exports": {
|
31 | "./logger/compat": "./lib/logger/compat.js",
|
32 | "./logger": "./lib/logger/index.js",
|
33 | "./params": "./lib/params/index.js",
|
34 | "./v1": "./lib/v1/index.js",
|
35 | "./v1/analytics": "./lib/v1/providers/analytics.js",
|
36 | "./v1/auth": "./lib/v1/providers/auth.js",
|
37 | "./v1/database": "./lib/v1/providers/database.js",
|
38 | "./v1/firestore": "./lib/v1/providers/firestore.js",
|
39 | "./v1/https": "./lib/v1/providers/https.js",
|
40 | "./v1/pubsub": "./lib/v1/providers/pubsub.js",
|
41 | "./v1/remoteConfig": "./lib/v1/providers/remoteConfig.js",
|
42 | "./v1/storage": "./lib/v1/providers/storage.js",
|
43 | "./v1/tasks": "./lib/v1/providers/tasks.js",
|
44 | "./v1/testLab": "./lib/v1/providers/testLab.js",
|
45 | ".": "./lib/v2/index.js",
|
46 | "./core": "./lib/v2/core.js",
|
47 | "./options": "./lib/v2/options.js",
|
48 | "./https": "./lib/v2/providers/https.js",
|
49 | "./pubsub": "./lib/v2/providers/pubsub.js",
|
50 | "./storage": "./lib/v2/providers/storage.js",
|
51 | "./tasks": "./lib/v2/providers/tasks.js",
|
52 | "./alerts": "./lib/v2/providers/alerts/index.js",
|
53 | "./alerts/appDistribution": "./lib/v2/providers/alerts/appDistribution.js",
|
54 | "./alerts/billing": "./lib/v2/providers/alerts/billing.js",
|
55 | "./alerts/crashlytics": "./lib/v2/providers/alerts/crashlytics.js",
|
56 | "./alerts/performance": "./lib/v2/providers/alerts/performance.js",
|
57 | "./eventarc": "./lib/v2/providers/eventarc.js",
|
58 | "./identity": "./lib/v2/providers/identity.js",
|
59 | "./database": "./lib/v2/providers/database.js",
|
60 | "./scheduler": "./lib/v2/providers/scheduler.js",
|
61 | "./remoteConfig": "./lib/v2/providers/remoteConfig.js",
|
62 | "./testLab": "./lib/v2/providers/testLab.js",
|
63 | "./firestore": "./lib/v2/providers/firestore.js",
|
64 | "./v2": "./lib/v2/index.js",
|
65 | "./v2/core": "./lib/v2/core.js",
|
66 | "./v2/options": "./lib/v2/options.js",
|
67 | "./v2/https": "./lib/v2/providers/https.js",
|
68 | "./v2/pubsub": "./lib/v2/providers/pubsub.js",
|
69 | "./v2/storage": "./lib/v2/providers/storage.js",
|
70 | "./v2/tasks": "./lib/v2/providers/tasks.js",
|
71 | "./v2/alerts": "./lib/v2/providers/alerts/index.js",
|
72 | "./v2/alerts/appDistribution": "./lib/v2/providers/alerts/appDistribution.js",
|
73 | "./v2/alerts/billing": "./lib/v2/providers/alerts/billing.js",
|
74 | "./v2/alerts/crashlytics": "./lib/v2/providers/alerts/crashlytics.js",
|
75 | "./v2/alerts/performance": "./lib/v2/providers/alerts/performance.js",
|
76 | "./v2/eventarc": "./lib/v2/providers/eventarc.js",
|
77 | "./v2/identity": "./lib/v2/providers/identity.js",
|
78 | "./v2/database": "./lib/v2/providers/database.js",
|
79 | "./v2/scheduler": "./lib/v2/providers/scheduler.js",
|
80 | "./v2/remoteConfig": "./lib/v2/providers/remoteConfig.js",
|
81 | "./v2/testLab": "./lib/v2/providers/testLab.js",
|
82 | "./v2/firestore": "./lib/v2/providers/firestore.js"
|
83 | },
|
84 | "typesVersions": {
|
85 | "*": {
|
86 | "logger": [
|
87 | "lib/logger"
|
88 | ],
|
89 | "logger/compat": [
|
90 | "lib/logger/compat"
|
91 | ],
|
92 | "params": [
|
93 | "lib/params"
|
94 | ],
|
95 | "v1": [
|
96 | "lib/v1"
|
97 | ],
|
98 | "v1/analytics": [
|
99 | "lib/v1/providers/analytics"
|
100 | ],
|
101 | "v1/auth": [
|
102 | "lib/v1/providers/auth"
|
103 | ],
|
104 | "v1/database": [
|
105 | "lib/v1/privders/database"
|
106 | ],
|
107 | "v1/firestore": [
|
108 | "lib/v1/providers/firestore"
|
109 | ],
|
110 | "v1/https": [
|
111 | "./lib/v1/providers/https"
|
112 | ],
|
113 | "v1/pubsub": [
|
114 | "lib/v1/providers/pubsub"
|
115 | ],
|
116 | "v1/remoteConfig": [
|
117 | "lib/v1/providers/remoteConfig"
|
118 | ],
|
119 | "v1/storage": [
|
120 | "lib/v1/providers/storage"
|
121 | ],
|
122 | "v1/tasks": [
|
123 | "lib/v1/providers/tasks"
|
124 | ],
|
125 | "v1/testLab": [
|
126 | "lib/v1/providers/testLab"
|
127 | ],
|
128 | "core": [
|
129 | "./lib/v2/core"
|
130 | ],
|
131 | "options": [
|
132 | "./lib/v2/options"
|
133 | ],
|
134 | "https": [
|
135 | "./lib/v2/providers/https"
|
136 | ],
|
137 | "pubsub": [
|
138 | "./lib/v2/providers/pubsub"
|
139 | ],
|
140 | "storage": [
|
141 | "./lib/v2/providers/storage"
|
142 | ],
|
143 | "tasks": [
|
144 | "./lib/v2/providers/tasks"
|
145 | ],
|
146 | "alerts": [
|
147 | "./lib/v2/providers/alerts/index"
|
148 | ],
|
149 | "alerts/appDistribution": [
|
150 | "./lib/v2/providers/alerts/appDistribution"
|
151 | ],
|
152 | "alerts/billing": [
|
153 | "./lib/v2/providers/alerts/billing"
|
154 | ],
|
155 | "alerts/crashlytics": [
|
156 | "./lib/v2/providers/alerts/crashlytics"
|
157 | ],
|
158 | "alerts/performance": [
|
159 | "./lib/v2/providers/alerts/performance"
|
160 | ],
|
161 | "eventarc": [
|
162 | "./lib/v2/providers/eventarc"
|
163 | ],
|
164 | "identity": [
|
165 | "./lib/v2/providers/identity"
|
166 | ],
|
167 | "database": [
|
168 | "./lib/v2/providers/database"
|
169 | ],
|
170 | "scheduler": [
|
171 | "./lib/v2/providers/scheduler"
|
172 | ],
|
173 | "remoteConfig": [
|
174 | "./lib/v2/providers/remoteConfig"
|
175 | ],
|
176 | "testLab": [
|
177 | "./lib/v2/providers/testLab"
|
178 | ],
|
179 | "firestore": [
|
180 | "./lib/v2/providers/firestore"
|
181 | ],
|
182 | "v2": [
|
183 | "lib/v2"
|
184 | ],
|
185 | "v2/core": [
|
186 | "lib/v2/core"
|
187 | ],
|
188 | "v2/alerts": [
|
189 | "lib/v2/providers/alerts"
|
190 | ],
|
191 | "v2/alerts/appDistribution": [
|
192 | "lib/v2/providers/alerts/appDistribution"
|
193 | ],
|
194 | "v2/alerts/billing": [
|
195 | "lib/v2/providers/alerts/billing"
|
196 | ],
|
197 | "v2/alerts/crashlytics": [
|
198 | "lib/v2/providers/alerts/crashlytics"
|
199 | ],
|
200 | "v2/alerts/performance": [
|
201 | "lib/v2/providers/alerts/performance"
|
202 | ],
|
203 | "v2/base": [
|
204 | "lib/v2/base"
|
205 | ],
|
206 | "v2/database": [
|
207 | "lib/v2/providers/database"
|
208 | ],
|
209 | "v2/eventarc": [
|
210 | "lib/v2/providers/eventarc"
|
211 | ],
|
212 | "v2/identity": [
|
213 | "lib/v2/providers/identity"
|
214 | ],
|
215 | "v2/options": [
|
216 | "lib/v2/options"
|
217 | ],
|
218 | "v2/https": [
|
219 | "lib/v2/providers/https"
|
220 | ],
|
221 | "v2/pubsub": [
|
222 | "lib/v2/providers/pubsub"
|
223 | ],
|
224 | "v2/storage": [
|
225 | "lib/v2/providers/storage"
|
226 | ],
|
227 | "v2/tasks": [
|
228 | "lib/v2/providers/tasks"
|
229 | ],
|
230 | "v2/scheduler": [
|
231 | "lib/v2/providers/scheduler"
|
232 | ],
|
233 | "v2/remoteConfig": [
|
234 | "lib/v2/providers/remoteConfig"
|
235 | ],
|
236 | "v2/testLab": [
|
237 | "lib/v2/providers/testLab"
|
238 | ],
|
239 | "v2/firestore": [
|
240 | "lib/v2/providers/firestore"
|
241 | ]
|
242 | }
|
243 | },
|
244 | "publishConfig": {
|
245 | "registry": "https://wombat-dressing-room.appspot.com"
|
246 | },
|
247 | "scripts": {
|
248 | "docgen:v1:extract": "api-extractor run -c docgen/api-extractor.v1.json --local",
|
249 | "docgen:v1:toc": "ts-node docgen/toc.ts --input docgen/v1 --output docgen/v1/markdown/toc --path /docs/reference/functions",
|
250 | "docgen:v1:gen": "api-documenter-fire markdown -i docgen/v1 -o docgen/v1/markdown --project functions && npm run docgen:v1:toc",
|
251 | "docgen:v1": "npm run build && npm run docgen:v1:extract && npm run docgen:v1:gen",
|
252 | "docgen:v2:extract": "api-extractor run -c docgen/api-extractor.v2.json --local",
|
253 | "docgen:v2:toc": "ts-node docgen/toc.ts --input docgen/v2 --output docgen/v2/markdown/toc --path /docs/reference/functions/2nd-gen/node",
|
254 | "docgen:v2:gen": "api-documenter-fire markdown -i docgen/v2 -o docgen/v2/markdown --project functions && npm run docgen:v2:toc",
|
255 | "docgen:v2": "npm run build && npm run docgen:v2:extract && npm run docgen:v2:gen",
|
256 | "build:pack": "rm -rf lib && npm install && tsc -p tsconfig.release.json && npm pack",
|
257 | "build:release": "npm ci --production && npm install --no-save typescript && tsc -p tsconfig.release.json",
|
258 | "build": "tsc -p tsconfig.release.json",
|
259 | "build:watch": "npm run build -- -w",
|
260 | "format": "npm run format:ts && npm run format:other",
|
261 | "format:other": "npm run lint:other -- --write",
|
262 | "format:ts": "npm run lint:ts -- --fix --quiet",
|
263 | "lint": "npm run lint:ts && npm run lint:other",
|
264 | "lint:other": "prettier --check '**/*.{md,yaml,yml}'",
|
265 | "lint:quiet": "npm run lint:ts -- --quiet && npm run lint:other",
|
266 | "lint:ts": "eslint --config .eslintrc.js --ext .ts,.js .",
|
267 | "test": "mocha --file ./mocha/setup.ts \"spec/**/*.spec.ts\"",
|
268 | "test:bin": "./scripts/bin-test/run.sh",
|
269 | "test:postmerge": "./integration_test/run_tests.sh"
|
270 | },
|
271 | "dependencies": {
|
272 | "@types/cors": "^2.8.5",
|
273 | "@types/express": "4.17.3",
|
274 | "cors": "^2.8.5",
|
275 | "express": "^4.17.1",
|
276 | "protobufjs": "^7.2.2"
|
277 | },
|
278 | "devDependencies": {
|
279 | "@firebase/api-documenter": "^0.2.0",
|
280 | "@microsoft/api-documenter": "^7.13.45",
|
281 | "@microsoft/api-extractor": "^7.18.7",
|
282 | "@types/chai": "^4.1.7",
|
283 | "@types/chai-as-promised": "^7.1.0",
|
284 | "@types/jsonwebtoken": "^9.0.0",
|
285 | "@types/mocha": "^5.2.7",
|
286 | "@types/mock-require": "^2.0.0",
|
287 | "@types/nock": "^10.0.3",
|
288 | "@types/node": "^14.18.24",
|
289 | "@types/node-fetch": "^3.0.3",
|
290 | "@types/sinon": "^7.0.13",
|
291 | "@typescript-eslint/eslint-plugin": "^5.33.1",
|
292 | "@typescript-eslint/parser": "^5.33.1",
|
293 | "api-extractor-model-me": "^0.1.1",
|
294 | "chai": "^4.2.0",
|
295 | "chai-as-promised": "^7.1.1",
|
296 | "child-process-promise": "^2.2.1",
|
297 | "eslint": "^8.6.0",
|
298 | "eslint-config-google": "^0.14.0",
|
299 | "eslint-config-prettier": "^8.3.0",
|
300 | "eslint-plugin-jsdoc": "^39.2.9",
|
301 | "eslint-plugin-prettier": "^4.0.0",
|
302 | "firebase-admin": "^12.1.0",
|
303 | "js-yaml": "^3.13.1",
|
304 | "jsdom": "^16.2.1",
|
305 | "jsonwebtoken": "^9.0.0",
|
306 | "jwk-to-pem": "^2.0.5",
|
307 | "mocha": "^10.2.0",
|
308 | "mock-require": "^3.0.3",
|
309 | "mz": "^2.7.0",
|
310 | "nock": "^13.2.9",
|
311 | "node-fetch": "^2.6.7",
|
312 | "portfinder": "^1.0.28",
|
313 | "prettier": "^2.7.1",
|
314 | "protobufjs-cli": "^1.1.1",
|
315 | "semver": "^7.3.5",
|
316 | "sinon": "^7.3.2",
|
317 | "ts-node": "^10.4.0",
|
318 | "typescript": "^4.3.5",
|
319 | "yargs": "^15.3.1"
|
320 | },
|
321 | "peerDependencies": {
|
322 | "firebase-admin": "^11.10.0 || ^12.0.0"
|
323 | },
|
324 | "engines": {
|
325 | "node": ">=14.10.0"
|
326 | }
|
327 | }
|