1 | {
|
2 | "name": "firebase-functions",
|
3 | "version": "5.0.1",
|
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/v1/index.js",
|
26 | "bin": {
|
27 | "firebase-functions": "./lib/bin/firebase-functions.js"
|
28 | },
|
29 | "types": "lib/v1/index.d.ts",
|
30 | "exports": {
|
31 | ".": "./lib/v1/index.js",
|
32 | "./logger/compat": "./lib/logger/compat.js",
|
33 | "./logger": "./lib/logger/index.js",
|
34 | "./params": "./lib/params/index.js",
|
35 | "./v1": "./lib/v1/index.js",
|
36 | "./v1/analytics": "./lib/v1/providers/analytics.js",
|
37 | "./v1/auth": "./lib/v1/providers/auth.js",
|
38 | "./v1/database": "./lib/v1/providers/database.js",
|
39 | "./v1/firestore": "./lib/v1/providers/firestore.js",
|
40 | "./v1/https": "./lib/v1/providers/https.js",
|
41 | "./v1/pubsub": "./lib/v1/providers/pubsub.js",
|
42 | "./v1/remoteConfig": "./lib/v1/providers/remoteConfig.js",
|
43 | "./v1/storage": "./lib/v1/providers/storage.js",
|
44 | "./v1/tasks": "./lib/v1/providers/tasks.js",
|
45 | "./v1/testLab": "./lib/v1/providers/testLab.js",
|
46 | "./v2": "./lib/v2/index.js",
|
47 | "./v2/core": "./lib/v2/core.js",
|
48 | "./v2/options": "./lib/v2/options.js",
|
49 | "./v2/https": "./lib/v2/providers/https.js",
|
50 | "./v2/pubsub": "./lib/v2/providers/pubsub.js",
|
51 | "./v2/storage": "./lib/v2/providers/storage.js",
|
52 | "./v2/tasks": "./lib/v2/providers/tasks.js",
|
53 | "./v2/alerts": "./lib/v2/providers/alerts/index.js",
|
54 | "./v2/alerts/appDistribution": "./lib/v2/providers/alerts/appDistribution.js",
|
55 | "./v2/alerts/billing": "./lib/v2/providers/alerts/billing.js",
|
56 | "./v2/alerts/crashlytics": "./lib/v2/providers/alerts/crashlytics.js",
|
57 | "./v2/alerts/performance": "./lib/v2/providers/alerts/performance.js",
|
58 | "./v2/eventarc": "./lib/v2/providers/eventarc.js",
|
59 | "./v2/identity": "./lib/v2/providers/identity.js",
|
60 | "./v2/database": "./lib/v2/providers/database.js",
|
61 | "./v2/scheduler": "./lib/v2/providers/scheduler.js",
|
62 | "./v2/remoteConfig": "./lib/v2/providers/remoteConfig.js",
|
63 | "./v2/testLab": "./lib/v2/providers/testLab.js",
|
64 | "./v2/firestore": "./lib/v2/providers/firestore.js"
|
65 | },
|
66 | "typesVersions": {
|
67 | "*": {
|
68 | "logger": [
|
69 | "lib/logger"
|
70 | ],
|
71 | "logger/compat": [
|
72 | "lib/logger/compat"
|
73 | ],
|
74 | "params": [
|
75 | "lib/params"
|
76 | ],
|
77 | "v1": [
|
78 | "lib/v1"
|
79 | ],
|
80 | "v1/analytics": [
|
81 | "lib/v1/providers/analytics"
|
82 | ],
|
83 | "v1/auth": [
|
84 | "lib/v1/providers/auth"
|
85 | ],
|
86 | "v1/database": [
|
87 | "lib/v1/privders/database"
|
88 | ],
|
89 | "v1/firestore": [
|
90 | "lib/v1/providers/firestore"
|
91 | ],
|
92 | "v1/https": [
|
93 | "./lib/v1/providers/https"
|
94 | ],
|
95 | "v1/pubsub": [
|
96 | "lib/v1/providers/pubsub"
|
97 | ],
|
98 | "v1/remoteConfig": [
|
99 | "lib/v1/providers/remoteConfig"
|
100 | ],
|
101 | "v1/storage": [
|
102 | "lib/v1/providers/storage"
|
103 | ],
|
104 | "v1/tasks": [
|
105 | "lib/v1/providers/tasks"
|
106 | ],
|
107 | "v1/testLab": [
|
108 | "lib/v1/providers/testLab"
|
109 | ],
|
110 | "v2": [
|
111 | "lib/v2"
|
112 | ],
|
113 | "v2/core": [
|
114 | "lib/v2/core"
|
115 | ],
|
116 | "v2/alerts": [
|
117 | "lib/v2/providers/alerts"
|
118 | ],
|
119 | "v2/alerts/appDistribution": [
|
120 | "lib/v2/providers/alerts/appDistribution"
|
121 | ],
|
122 | "v2/alerts/billing": [
|
123 | "lib/v2/providers/alerts/billing"
|
124 | ],
|
125 | "v2/alerts/crashlytics": [
|
126 | "lib/v2/providers/alerts/crashlytics"
|
127 | ],
|
128 | "v2/alerts/performance": [
|
129 | "lib/v2/providers/alerts/performance"
|
130 | ],
|
131 | "v2/base": [
|
132 | "lib/v2/base"
|
133 | ],
|
134 | "v2/database": [
|
135 | "lib/v2/providers/database"
|
136 | ],
|
137 | "v2/eventarc": [
|
138 | "lib/v2/providers/eventarc"
|
139 | ],
|
140 | "v2/identity": [
|
141 | "lib/v2/providers/identity"
|
142 | ],
|
143 | "v2/options": [
|
144 | "lib/v2/options"
|
145 | ],
|
146 | "v2/https": [
|
147 | "lib/v2/providers/https"
|
148 | ],
|
149 | "v2/pubsub": [
|
150 | "lib/v2/providers/pubsub"
|
151 | ],
|
152 | "v2/storage": [
|
153 | "lib/v2/providers/storage"
|
154 | ],
|
155 | "v2/tasks": [
|
156 | "lib/v2/providers/tasks"
|
157 | ],
|
158 | "v2/scheduler": [
|
159 | "lib/v2/providers/scheduler"
|
160 | ],
|
161 | "v2/remoteConfig": [
|
162 | "lib/v2/providers/remoteConfig"
|
163 | ],
|
164 | "v2/testLab": [
|
165 | "lib/v2/providers/testLab"
|
166 | ],
|
167 | "v2/firestore": [
|
168 | "lib/v2/providers/firestore"
|
169 | ]
|
170 | }
|
171 | },
|
172 | "publishConfig": {
|
173 | "registry": "https://wombat-dressing-room.appspot.com"
|
174 | },
|
175 | "scripts": {
|
176 | "docgen:v1:extract": "api-extractor run -c docgen/api-extractor.v1.json --local",
|
177 | "docgen:v1:toc": "ts-node docgen/toc.ts --input docgen/v1 --output docgen/v1/markdown/toc --path /docs/reference/functions",
|
178 | "docgen:v1:gen": "api-documenter-fire markdown -i docgen/v1 -o docgen/v1/markdown --project functions && npm run docgen:v1:toc",
|
179 | "docgen:v1": "npm run build && npm run docgen:v1:extract && npm run docgen:v1:gen",
|
180 | "docgen:v2:extract": "api-extractor run -c docgen/api-extractor.v2.json --local",
|
181 | "docgen:v2:toc": "ts-node docgen/toc.ts --input docgen/v2 --output docgen/v2/markdown/toc --path /docs/reference/functions/2nd-gen/node",
|
182 | "docgen:v2:gen": "api-documenter-fire markdown -i docgen/v2 -o docgen/v2/markdown --project functions && npm run docgen:v2:toc",
|
183 | "docgen:v2": "npm run build && npm run docgen:v2:extract && npm run docgen:v2:gen",
|
184 | "build:pack": "rm -rf lib && npm install && tsc -p tsconfig.release.json && npm pack",
|
185 | "build:release": "npm ci --production && npm install --no-save typescript firebase-admin && tsc -p tsconfig.release.json",
|
186 | "build": "tsc -p tsconfig.release.json",
|
187 | "build:watch": "npm run build -- -w",
|
188 | "format": "npm run format:ts && npm run format:other",
|
189 | "format:other": "npm run lint:other -- --write",
|
190 | "format:ts": "npm run lint:ts -- --fix --quiet",
|
191 | "lint": "npm run lint:ts && npm run lint:other",
|
192 | "lint:other": "prettier --check '**/*.{md,yaml,yml}'",
|
193 | "lint:quiet": "npm run lint:ts -- --quiet && npm run lint:other",
|
194 | "lint:ts": "eslint --config .eslintrc.js --ext .ts,.js .",
|
195 | "test": "mocha --file ./mocha/setup.ts \"spec/**/*.spec.ts\"",
|
196 | "test:bin": "./scripts/bin-test/run.sh",
|
197 | "test:postmerge": "./integration_test/run_tests.sh"
|
198 | },
|
199 | "dependencies": {
|
200 | "@types/cors": "^2.8.5",
|
201 | "@types/express": "4.17.3",
|
202 | "cors": "^2.8.5",
|
203 | "express": "^4.17.1",
|
204 | "protobufjs": "^7.2.2"
|
205 | },
|
206 | "devDependencies": {
|
207 | "@firebase/api-documenter": "^0.2.0",
|
208 | "@microsoft/api-documenter": "^7.13.45",
|
209 | "@microsoft/api-extractor": "^7.18.7",
|
210 | "@types/chai": "^4.1.7",
|
211 | "@types/chai-as-promised": "^7.1.0",
|
212 | "@types/jsonwebtoken": "^9.0.0",
|
213 | "@types/mocha": "^5.2.7",
|
214 | "@types/mock-require": "^2.0.0",
|
215 | "@types/nock": "^10.0.3",
|
216 | "@types/node": "^14.18.24",
|
217 | "@types/node-fetch": "^3.0.3",
|
218 | "@types/sinon": "^7.0.13",
|
219 | "@typescript-eslint/eslint-plugin": "^5.33.1",
|
220 | "@typescript-eslint/parser": "^5.33.1",
|
221 | "api-extractor-model-me": "^0.1.1",
|
222 | "chai": "^4.2.0",
|
223 | "chai-as-promised": "^7.1.1",
|
224 | "child-process-promise": "^2.2.1",
|
225 | "eslint": "^8.6.0",
|
226 | "eslint-config-google": "^0.14.0",
|
227 | "eslint-config-prettier": "^8.3.0",
|
228 | "eslint-plugin-jsdoc": "^39.2.9",
|
229 | "eslint-plugin-prettier": "^4.0.0",
|
230 | "firebase-admin": "^12.1.0",
|
231 | "js-yaml": "^3.13.1",
|
232 | "jsdom": "^16.2.1",
|
233 | "jsonwebtoken": "^9.0.0",
|
234 | "jwk-to-pem": "^2.0.5",
|
235 | "mocha": "^10.2.0",
|
236 | "mock-require": "^3.0.3",
|
237 | "mz": "^2.7.0",
|
238 | "nock": "^13.2.9",
|
239 | "node-fetch": "^2.6.7",
|
240 | "portfinder": "^1.0.28",
|
241 | "prettier": "^2.7.1",
|
242 | "protobufjs-cli": "^1.1.1",
|
243 | "semver": "^7.3.5",
|
244 | "sinon": "^7.3.2",
|
245 | "ts-node": "^10.4.0",
|
246 | "typescript": "^4.3.5",
|
247 | "yargs": "^15.3.1"
|
248 | },
|
249 | "peerDependencies": {
|
250 | "firebase-admin": "^11.10.0 || ^12.0.0"
|
251 | },
|
252 | "engines": {
|
253 | "node": ">=14.10.0"
|
254 | }
|
255 | }
|