1 | {
|
2 | "name": "firebase-admin",
|
3 | "version": "10.0.0",
|
4 | "description": "Firebase admin SDK for Node.js",
|
5 | "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
6 | "license": "Apache-2.0",
|
7 | "homepage": "https://firebase.google.com/",
|
8 | "engines": {
|
9 | "node": ">=12.7.0"
|
10 | },
|
11 | "scripts": {
|
12 | "build": "gulp build",
|
13 | "build:tests": "gulp compile_test",
|
14 | "prepare": "npm run build && npm run esm-wrap",
|
15 | "lint": "run-p lint:src lint:test",
|
16 | "test": "run-s lint test:unit",
|
17 | "integration": "run-s build test:integration",
|
18 | "test:unit": "mocha test/unit/*.spec.ts --require ts-node/register",
|
19 | "test:integration": "mocha test/integration/*.ts --slow 5000 --timeout 20000 --require ts-node/register",
|
20 | "test:coverage": "nyc npm run test:unit",
|
21 | "lint:src": "eslint src/ --ext .ts",
|
22 | "lint:test": "eslint test/ --ext .ts",
|
23 | "apidocs": "run-s api-extractor:local api-documenter",
|
24 | "api-extractor": "node generate-reports.js",
|
25 | "api-extractor:local": "npm run build && node generate-reports.js --local",
|
26 | "esm-wrap": "node generate-esm-wrapper.js",
|
27 | "api-documenter": "run-s api-documenter:markdown api-documenter:toc api-documenter:post",
|
28 | "api-documenter:markdown": "api-documenter-fire markdown --input temp --output docgen/markdown -s",
|
29 | "api-documenter:toc": "api-documenter-fire toc --input temp --output docgen/markdown -p /docs/reference/admin/node -s",
|
30 | "api-documenter:post": "node docgen/post-process.js"
|
31 | },
|
32 | "nyc": {
|
33 | "extension": [
|
34 | ".ts"
|
35 | ],
|
36 | "include": [
|
37 | "src"
|
38 | ],
|
39 | "exclude": [
|
40 | "**/*.d.ts"
|
41 | ],
|
42 | "all": true
|
43 | },
|
44 | "keywords": [
|
45 | "admin",
|
46 | "database",
|
47 | "Firebase",
|
48 | "realtime",
|
49 | "authentication"
|
50 | ],
|
51 | "repository": {
|
52 | "type": "git",
|
53 | "url": "https://github.com/firebase/firebase-admin-node"
|
54 | },
|
55 | "main": "lib/index.js",
|
56 | "files": [
|
57 | "lib/",
|
58 | "LICENSE",
|
59 | "README.md",
|
60 | "package.json"
|
61 | ],
|
62 | "types": "./lib/index.d.ts",
|
63 | "typesVersions": {
|
64 | "*": {
|
65 | "app": [
|
66 | "lib/app"
|
67 | ],
|
68 | "app-check": [
|
69 | "lib/app-check"
|
70 | ],
|
71 | "auth": [
|
72 | "lib/auth"
|
73 | ],
|
74 | "database": [
|
75 | "lib/database"
|
76 | ],
|
77 | "firestore": [
|
78 | "lib/firestore"
|
79 | ],
|
80 | "installations": [
|
81 | "lib/installations"
|
82 | ],
|
83 | "instance-id": [
|
84 | "lib/instance-id"
|
85 | ],
|
86 | "machine-learning": [
|
87 | "lib/machine-learning"
|
88 | ],
|
89 | "messaging": [
|
90 | "lib/messaging"
|
91 | ],
|
92 | "project-management": [
|
93 | "lib/project-management"
|
94 | ],
|
95 | "remote-config": [
|
96 | "lib/remote-config"
|
97 | ],
|
98 | "security-rules": [
|
99 | "lib/security-rules"
|
100 | ],
|
101 | "storage": [
|
102 | "lib/storage"
|
103 | ]
|
104 | }
|
105 | },
|
106 | "exports": {
|
107 | ".": "./lib/index.js",
|
108 | "./app": {
|
109 | "require": "./lib/app/index.js",
|
110 | "import": "./lib/esm/app/index.js"
|
111 | },
|
112 | "./app-check": {
|
113 | "require": "./lib/app-check/index.js",
|
114 | "import": "./lib/esm/app-check/index.js"
|
115 | },
|
116 | "./auth": {
|
117 | "require": "./lib/auth/index.js",
|
118 | "import": "./lib/esm/auth/index.js"
|
119 | },
|
120 | "./database": {
|
121 | "require": "./lib/database/index.js",
|
122 | "import": "./lib/esm/database/index.js"
|
123 | },
|
124 | "./firestore": {
|
125 | "require": "./lib/firestore/index.js",
|
126 | "import": "./lib/esm/firestore/index.js"
|
127 | },
|
128 | "./installations": {
|
129 | "require": "./lib/installations/index.js",
|
130 | "import": "./lib/esm/installations/index.js"
|
131 | },
|
132 | "./instance-id": {
|
133 | "require": "./lib/instance-id/index.js",
|
134 | "import": "./lib/esm/instance-id/index.js"
|
135 | },
|
136 | "./machine-learning": {
|
137 | "require": "./lib/machine-learning/index.js",
|
138 | "import": "./lib/esm/machine-learning/index.js"
|
139 | },
|
140 | "./messaging": {
|
141 | "require": "./lib/messaging/index.js",
|
142 | "import": "./lib/esm/messaging/index.js"
|
143 | },
|
144 | "./project-management": {
|
145 | "require": "./lib/project-management/index.js",
|
146 | "import": "./lib/esm/project-management/index.js"
|
147 | },
|
148 | "./remote-config": {
|
149 | "require": "./lib/remote-config/index.js",
|
150 | "import": "./lib/esm/remote-config/index.js"
|
151 | },
|
152 | "./security-rules": {
|
153 | "require": "./lib/security-rules/index.js",
|
154 | "import": "./lib/esm/security-rules/index.js"
|
155 | },
|
156 | "./storage": {
|
157 | "require": "./lib/storage/index.js",
|
158 | "import": "./lib/esm/storage/index.js"
|
159 | }
|
160 | },
|
161 | "dependencies": {
|
162 | "@firebase/database-compat": "^0.1.1",
|
163 | "@firebase/database-types": "^0.7.2",
|
164 | "@types/node": ">=12.12.47",
|
165 | "dicer": "^0.3.0",
|
166 | "jsonwebtoken": "^8.5.1",
|
167 | "jwks-rsa": "^2.0.2",
|
168 | "node-forge": "^0.10.0"
|
169 | },
|
170 | "optionalDependencies": {
|
171 | "@google-cloud/firestore": "^4.5.0",
|
172 | "@google-cloud/storage": "^5.3.0"
|
173 | },
|
174 | "devDependencies": {
|
175 | "@firebase/api-documenter": "^0.1.2",
|
176 | "@firebase/app-compat": "^0.1.2",
|
177 | "@firebase/auth-compat": "^0.1.3",
|
178 | "@firebase/auth-types": "^0.10.3",
|
179 | "@microsoft/api-extractor": "^7.11.2",
|
180 | "@types/bcrypt": "^5.0.0",
|
181 | "@types/chai": "^4.0.0",
|
182 | "@types/chai-as-promised": "^7.1.0",
|
183 | "@types/firebase-token-generator": "^2.0.28",
|
184 | "@types/jsonwebtoken": "8.5.1",
|
185 | "@types/lodash": "^4.14.104",
|
186 | "@types/minimist": "^1.2.0",
|
187 | "@types/mocha": "^8.2.2",
|
188 | "@types/nock": "^11.1.0",
|
189 | "@types/request": "^2.47.0",
|
190 | "@types/request-promise": "^4.1.41",
|
191 | "@types/sinon": "^10.0.2",
|
192 | "@types/sinon-chai": "^3.0.0",
|
193 | "@typescript-eslint/eslint-plugin": "^2.20.0",
|
194 | "@typescript-eslint/parser": "^2.20.0",
|
195 | "bcrypt": "^5.0.0",
|
196 | "chai": "^4.2.0",
|
197 | "chai-as-promised": "^7.0.0",
|
198 | "chalk": "^4.1.1",
|
199 | "child-process-promise": "^2.2.1",
|
200 | "del": "^6.0.0",
|
201 | "eslint": "^6.8.0",
|
202 | "firebase-token-generator": "^2.0.0",
|
203 | "gulp": "^4.0.2",
|
204 | "gulp-filter": "^7.0.0",
|
205 | "gulp-header": "^2.0.9",
|
206 | "gulp-typescript": "^5.0.1",
|
207 | "http-message-parser": "^0.0.34",
|
208 | "lodash": "^4.17.15",
|
209 | "minimist": "^1.2.0",
|
210 | "mocha": "^8.0.0",
|
211 | "mz": "^2.7.0",
|
212 | "nock": "^13.0.0",
|
213 | "npm-run-all": "^4.1.5",
|
214 | "nyc": "^15.1.0",
|
215 | "request": "^2.75.0",
|
216 | "request-promise": "^4.1.1",
|
217 | "run-sequence": "^2.2.1",
|
218 | "sinon": "^9.0.0",
|
219 | "sinon-chai": "^3.0.0",
|
220 | "ts-node": "^10.2.0",
|
221 | "typescript": "^3.7.3",
|
222 | "yargs": "^17.0.1"
|
223 | }
|
224 | }
|