package.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. {
  2. "name": "firebase",
  3. "version": "9.23.0",
  4. "description": "Firebase JavaScript library for web and 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. "keywords": [
  9. "authentication",
  10. "database",
  11. "Firebase",
  12. "firebase",
  13. "realtime",
  14. "storage",
  15. "performance",
  16. "remote-config"
  17. ],
  18. "files": [
  19. "**/dist/",
  20. "**/package.json",
  21. "/firebase*.js",
  22. "/firebase*.map",
  23. "compat/index.d.ts"
  24. ],
  25. "exports": {
  26. "./analytics": {
  27. "types": "./analytics/dist/analytics/index.d.ts",
  28. "node": {
  29. "require": "./analytics/dist/index.cjs.js",
  30. "import": "./analytics/dist/index.mjs"
  31. },
  32. "browser": {
  33. "require": "./analytics/dist/index.cjs.js",
  34. "import": "./analytics/dist/esm/index.esm.js"
  35. },
  36. "default": "./analytics/dist/esm/index.esm.js"
  37. },
  38. "./app": {
  39. "types": "./app/dist/app/index.d.ts",
  40. "node": {
  41. "require": "./app/dist/index.cjs.js",
  42. "import": "./app/dist/index.mjs"
  43. },
  44. "browser": {
  45. "require": "./app/dist/index.cjs.js",
  46. "import": "./app/dist/esm/index.esm.js"
  47. },
  48. "default": "./app/dist/esm/index.esm.js"
  49. },
  50. "./app-check": {
  51. "types": "./app-check/dist/app-check/index.d.ts",
  52. "node": {
  53. "require": "./app-check/dist/index.cjs.js",
  54. "import": "./app-check/dist/index.mjs"
  55. },
  56. "browser": {
  57. "require": "./app-check/dist/index.cjs.js",
  58. "import": "./app-check/dist/esm/index.esm.js"
  59. },
  60. "default": "./app-check/dist/esm/index.esm.js"
  61. },
  62. "./auth": {
  63. "types": "./auth/dist/auth/index.d.ts",
  64. "node": {
  65. "require": "./auth/dist/index.cjs.js",
  66. "import": "./auth/dist/index.mjs"
  67. },
  68. "browser": {
  69. "require": "./auth/dist/index.cjs.js",
  70. "import": "./auth/dist/esm/index.esm.js"
  71. },
  72. "default": "./auth/dist/esm/index.esm.js"
  73. },
  74. "./auth/cordova": {
  75. "types": "./auth/cordova/dist/auth/cordova/index.d.ts",
  76. "node": {
  77. "require": "./auth/cordova/dist/index.cjs.js",
  78. "import": "./auth/cordova/dist/index.mjs"
  79. },
  80. "browser": {
  81. "require": "./auth/cordova/dist/index.cjs.js",
  82. "import": "./auth/cordova/dist/esm/index.esm.js"
  83. },
  84. "default": "./auth/cordova/dist/esm/index.esm.js"
  85. },
  86. "./auth/react-native": {
  87. "types": "./auth/react-native/dist/auth/react-native/index.d.ts",
  88. "node": {
  89. "require": "./auth/react-native/dist/index.cjs.js",
  90. "import": "./auth/react-native/dist/index.mjs"
  91. },
  92. "browser": {
  93. "require": "./auth/react-native/dist/index.cjs.js",
  94. "import": "./auth/react-native/dist/esm/index.esm.js"
  95. },
  96. "default": "./auth/react-native/dist/esm/index.esm.js"
  97. },
  98. "./database": {
  99. "types": "./database/dist/database/index.d.ts",
  100. "node": {
  101. "require": "./database/dist/index.cjs.js",
  102. "import": "./database/dist/index.mjs"
  103. },
  104. "browser": {
  105. "require": "./database/dist/index.cjs.js",
  106. "import": "./database/dist/esm/index.esm.js"
  107. },
  108. "default": "./database/dist/esm/index.esm.js"
  109. },
  110. "./firestore": {
  111. "types": "./firestore/dist/firestore/index.d.ts",
  112. "node": {
  113. "require": "./firestore/dist/index.cjs.js",
  114. "import": "./firestore/dist/index.mjs"
  115. },
  116. "browser": {
  117. "require": "./firestore/dist/index.cjs.js",
  118. "import": "./firestore/dist/esm/index.esm.js"
  119. },
  120. "default": "./firestore/dist/esm/index.esm.js"
  121. },
  122. "./firestore/lite": {
  123. "types": "./firestore/lite/dist/firestore/lite/index.d.ts",
  124. "node": {
  125. "require": "./firestore/lite/dist/index.cjs.js",
  126. "import": "./firestore/lite/dist/index.mjs"
  127. },
  128. "browser": {
  129. "require": "./firestore/lite/dist/index.cjs.js",
  130. "import": "./firestore/lite/dist/esm/index.esm.js"
  131. },
  132. "default": "./firestore/lite/dist/esm/index.esm.js"
  133. },
  134. "./functions": {
  135. "types": "./functions/dist/functions/index.d.ts",
  136. "node": {
  137. "require": "./functions/dist/index.cjs.js",
  138. "import": "./functions/dist/index.mjs"
  139. },
  140. "browser": {
  141. "require": "./functions/dist/index.cjs.js",
  142. "import": "./functions/dist/esm/index.esm.js"
  143. },
  144. "default": "./functions/dist/esm/index.esm.js"
  145. },
  146. "./installations": {
  147. "types": "./installations/dist/installations/index.d.ts",
  148. "node": {
  149. "require": "./installations/dist/index.cjs.js",
  150. "import": "./installations/dist/index.mjs"
  151. },
  152. "browser": {
  153. "require": "./installations/dist/index.cjs.js",
  154. "import": "./installations/dist/esm/index.esm.js"
  155. },
  156. "default": "./installations/dist/esm/index.esm.js"
  157. },
  158. "./messaging": {
  159. "types": "./messaging/dist/messaging/index.d.ts",
  160. "node": {
  161. "require": "./messaging/dist/index.cjs.js",
  162. "import": "./messaging/dist/index.mjs"
  163. },
  164. "browser": {
  165. "require": "./messaging/dist/index.cjs.js",
  166. "import": "./messaging/dist/esm/index.esm.js"
  167. },
  168. "default": "./messaging/dist/esm/index.esm.js"
  169. },
  170. "./messaging/sw": {
  171. "types": "./messaging/sw/dist/messaging/sw/index.d.ts",
  172. "node": {
  173. "require": "./messaging/sw/dist/index.cjs.js",
  174. "import": "./messaging/sw/dist/index.mjs"
  175. },
  176. "browser": {
  177. "require": "./messaging/sw/dist/index.cjs.js",
  178. "import": "./messaging/sw/dist/esm/index.esm.js"
  179. },
  180. "default": "./messaging/sw/dist/esm/index.esm.js"
  181. },
  182. "./performance": {
  183. "types": "./performance/dist/performance/index.d.ts",
  184. "node": {
  185. "require": "./performance/dist/index.cjs.js",
  186. "import": "./performance/dist/index.mjs"
  187. },
  188. "browser": {
  189. "require": "./performance/dist/index.cjs.js",
  190. "import": "./performance/dist/esm/index.esm.js"
  191. },
  192. "default": "./performance/dist/esm/index.esm.js"
  193. },
  194. "./remote-config": {
  195. "types": "./remote-config/dist/remote-config/index.d.ts",
  196. "node": {
  197. "require": "./remote-config/dist/index.cjs.js",
  198. "import": "./remote-config/dist/index.mjs"
  199. },
  200. "browser": {
  201. "require": "./remote-config/dist/index.cjs.js",
  202. "import": "./remote-config/dist/esm/index.esm.js"
  203. },
  204. "default": "./remote-config/dist/esm/index.esm.js"
  205. },
  206. "./storage": {
  207. "types": "./storage/dist/storage/index.d.ts",
  208. "node": {
  209. "require": "./storage/dist/index.cjs.js",
  210. "import": "./storage/dist/index.mjs"
  211. },
  212. "browser": {
  213. "require": "./storage/dist/index.cjs.js",
  214. "import": "./storage/dist/esm/index.esm.js"
  215. },
  216. "default": "./storage/dist/esm/index.esm.js"
  217. },
  218. "./compat/analytics": {
  219. "types": "./compat/analytics/dist/compat/analytics/index.d.ts",
  220. "node": {
  221. "require": "./compat/analytics/dist/index.cjs.js",
  222. "import": "./compat/analytics/dist/index.mjs"
  223. },
  224. "browser": {
  225. "require": "./compat/analytics/dist/index.cjs.js",
  226. "import": "./compat/analytics/dist/esm/index.esm.js"
  227. },
  228. "default": "./compat/analytics/dist/esm/index.esm.js"
  229. },
  230. "./compat/app": {
  231. "types": "./compat/index.d.ts",
  232. "node": {
  233. "require": "./compat/app/dist/index.cjs.js",
  234. "import": "./compat/app/dist/index.mjs"
  235. },
  236. "browser": {
  237. "require": "./compat/app/dist/index.cjs.js",
  238. "import": "./compat/app/dist/esm/index.esm.js"
  239. },
  240. "default": "./compat/app/dist/esm/index.esm.js"
  241. },
  242. "./compat/app-check": {
  243. "types": "./compat/app-check/dist/compat/app-check/index.d.ts",
  244. "node": {
  245. "require": "./compat/app-check/dist/index.cjs.js",
  246. "import": "./compat/app-check/dist/index.mjs"
  247. },
  248. "browser": {
  249. "require": "./compat/app-check/dist/index.cjs.js",
  250. "import": "./compat/app-check/dist/esm/index.esm.js"
  251. },
  252. "default": "./compat/app-check/dist/esm/index.esm.js"
  253. },
  254. "./compat/auth": {
  255. "types": "./compat/auth/dist/compat/auth/index.d.ts",
  256. "node": {
  257. "require": "./compat/auth/dist/index.cjs.js",
  258. "import": "./compat/auth/dist/index.mjs"
  259. },
  260. "browser": {
  261. "require": "./compat/auth/dist/index.cjs.js",
  262. "import": "./compat/auth/dist/esm/index.esm.js"
  263. },
  264. "default": "./compat/auth/dist/esm/index.esm.js"
  265. },
  266. "./compat/database": {
  267. "types": "./compat/database/dist/compat/database/index.d.ts",
  268. "node": {
  269. "require": "./compat/database/dist/index.cjs.js",
  270. "import": "./compat/database/dist/index.mjs"
  271. },
  272. "browser": {
  273. "require": "./compat/database/dist/index.cjs.js",
  274. "import": "./compat/database/dist/esm/index.esm.js"
  275. },
  276. "default": "./compat/database/dist/esm/index.esm.js"
  277. },
  278. "./compat/firestore": {
  279. "types": "./compat/firestore/dist/compat/firestore/index.d.ts",
  280. "node": {
  281. "require": "./compat/firestore/dist/index.cjs.js",
  282. "import": "./compat/firestore/dist/index.mjs"
  283. },
  284. "browser": {
  285. "require": "./compat/firestore/dist/index.cjs.js",
  286. "import": "./compat/firestore/dist/esm/index.esm.js"
  287. },
  288. "default": "./compat/firestore/dist/esm/index.esm.js"
  289. },
  290. "./compat/functions": {
  291. "types": "./compat/functions/dist/compat/functions/index.d.ts",
  292. "node": {
  293. "require": "./compat/functions/dist/index.cjs.js",
  294. "import": "./compat/functions/dist/index.mjs"
  295. },
  296. "browser": {
  297. "require": "./compat/functions/dist/index.cjs.js",
  298. "import": "./compat/functions/dist/esm/index.esm.js"
  299. },
  300. "default": "./compat/functions/dist/esm/index.esm.js"
  301. },
  302. "./compat/installations": {
  303. "types": "./compat/installations/dist/compat/installations/index.d.ts",
  304. "node": {
  305. "require": "./compat/installations/dist/index.cjs.js",
  306. "import": "./compat/installations/dist/index.mjs"
  307. },
  308. "browser": {
  309. "require": "./compat/installations/dist/index.cjs.js",
  310. "import": "./compat/installations/dist/esm/index.esm.js"
  311. },
  312. "default": "./compat/installations/dist/esm/index.esm.js"
  313. },
  314. "./compat/messaging": {
  315. "types": "./compat/messaging/dist/compat/messaging/index.d.ts",
  316. "node": {
  317. "require": "./compat/messaging/dist/index.cjs.js",
  318. "import": "./compat/messaging/dist/index.mjs"
  319. },
  320. "browser": {
  321. "require": "./compat/messaging/dist/index.cjs.js",
  322. "import": "./compat/messaging/dist/esm/index.esm.js"
  323. },
  324. "default": "./compat/messaging/dist/esm/index.esm.js"
  325. },
  326. "./compat/performance": {
  327. "types": "./compat/performance/dist/compat/performance/index.d.ts",
  328. "node": {
  329. "require": "./compat/performance/dist/index.cjs.js",
  330. "import": "./compat/performance/dist/index.mjs"
  331. },
  332. "browser": {
  333. "require": "./compat/performance/dist/index.cjs.js",
  334. "import": "./compat/performance/dist/esm/index.esm.js"
  335. },
  336. "default": "./compat/performance/dist/esm/index.esm.js"
  337. },
  338. "./compat/remote-config": {
  339. "types": "./compat/remote-config/dist/compat/remote-config/index.d.ts",
  340. "node": {
  341. "require": "./compat/remote-config/dist/index.cjs.js",
  342. "import": "./compat/remote-config/dist/index.mjs"
  343. },
  344. "browser": {
  345. "require": "./compat/remote-config/dist/index.cjs.js",
  346. "import": "./compat/remote-config/dist/esm/index.esm.js"
  347. },
  348. "default": "./compat/remote-config/dist/esm/index.esm.js"
  349. },
  350. "./compat/storage": {
  351. "types": "./compat/storage/dist/compat/storage/index.d.ts",
  352. "node": {
  353. "require": "./compat/storage/dist/index.cjs.js",
  354. "import": "./compat/storage/dist/index.mjs"
  355. },
  356. "browser": {
  357. "require": "./compat/storage/dist/index.cjs.js",
  358. "import": "./compat/storage/dist/esm/index.esm.js"
  359. },
  360. "default": "./compat/storage/dist/esm/index.esm.js"
  361. },
  362. "./package.json": "./package.json"
  363. },
  364. "repository": {
  365. "type": "git",
  366. "url": "https://github.com/firebase/firebase-js-sdk.git"
  367. },
  368. "scripts": {
  369. "build": "rollup -c && gulp cdn-type-module-path && yarn build:compat",
  370. "build:internal": "rollup -c && gulp cdn-type-module-path-internal && yarn build:compat",
  371. "build:compat": "rollup -c compat/rollup.config.js",
  372. "dev": "rollup -c -w",
  373. "test": "echo 'No test suite for firebase wrapper'",
  374. "test:ci": "echo 'No test suite for firebase wrapper'"
  375. },
  376. "dependencies": {
  377. "@firebase/app": "0.9.13",
  378. "@firebase/app-compat": "0.2.13",
  379. "@firebase/app-types": "0.9.0",
  380. "@firebase/auth": "0.23.2",
  381. "@firebase/auth-compat": "0.4.2",
  382. "@firebase/database": "0.14.4",
  383. "@firebase/database-compat": "0.3.4",
  384. "@firebase/firestore": "3.13.0",
  385. "@firebase/firestore-compat": "0.3.12",
  386. "@firebase/functions": "0.10.0",
  387. "@firebase/functions-compat": "0.3.5",
  388. "@firebase/installations": "0.6.4",
  389. "@firebase/installations-compat": "0.2.4",
  390. "@firebase/messaging": "0.12.4",
  391. "@firebase/messaging-compat": "0.2.4",
  392. "@firebase/storage": "0.11.2",
  393. "@firebase/storage-compat": "0.3.2",
  394. "@firebase/performance": "0.6.4",
  395. "@firebase/performance-compat": "0.2.4",
  396. "@firebase/remote-config": "0.4.4",
  397. "@firebase/remote-config-compat": "0.2.4",
  398. "@firebase/analytics": "0.10.0",
  399. "@firebase/analytics-compat": "0.2.6",
  400. "@firebase/app-check": "0.8.0",
  401. "@firebase/app-check-compat": "0.3.7",
  402. "@firebase/util": "1.9.3"
  403. },
  404. "devDependencies": {
  405. "rollup": "2.79.1",
  406. "@rollup/plugin-commonjs": "21.1.0",
  407. "@rollup/plugin-node-resolve": "13.3.0",
  408. "rollup-plugin-sourcemaps": "0.6.3",
  409. "rollup-plugin-terser": "7.0.2",
  410. "rollup-plugin-typescript2": "0.31.2",
  411. "rollup-plugin-uglify": "6.0.4",
  412. "gulp": "4.0.2",
  413. "gulp-sourcemaps": "3.0.0",
  414. "gulp-replace": "1.1.4",
  415. "typescript": "4.2.2",
  416. "rollup-plugin-license": "3.0.1"
  417. },
  418. "components": [
  419. "analytics",
  420. "app",
  421. "app-check",
  422. "auth",
  423. "auth/cordova",
  424. "auth/react-native",
  425. "functions",
  426. "firestore",
  427. "firestore/lite",
  428. "installations",
  429. "storage",
  430. "performance",
  431. "remote-config",
  432. "messaging",
  433. "messaging/sw",
  434. "database"
  435. ],
  436. "typings": "empty.d.ts"
  437. }