{"_id":"@ahum/firebase-mock","_rev":"1-189adba9a96c275eac7ca0a37b423df4","name":"@ahum/firebase-mock","dist-tags":{"next":"2.3.0","latest":"2.3.0"},"versions":{"2.3.0":{"name":"@ahum/firebase-mock","version":"2.3.0","publishConfig":{"access":"public"},"description":"A fork of 'firebase-mock' - Firebase mock library for writing unit tests","main":"./src","scripts":{"test":"gulp lint && gulp test","publish-patch":"git checkout master && git pull && gulp release && npm publish","publish-minor":"git checkout master && git pull && gulp release --type minor && npm publish","publish-major":"git checkout master && git pull && gulp release --type major && npm publish"},"repository":{"type":"git","url":"git://github.com/soumak77/firebase-mock.git"},"keywords":["firebase","mock"],"author":{"name":"Brian Soumakian"},"license":"MIT","bugs":{"url":"https://github.com/soumak77/firebase-mock/issues"},"homepage":"https://github.com/soumak77/firebase-mock","dependencies":{"firebase-auto-ids":"~1.1.0","lodash.assign":"^4.2.0","lodash.assignin":"^4.2.0","lodash.bind":"^4.2.1","lodash.clone":"^4.5.0","lodash.clonedeep":"^4.5.0","lodash.clonedeepwith":"^4.5.0","lodash.compact":"^3.0.1","lodash.difference":"^4.5.0","lodash.every":"^4.6.0","lodash.filter":"^4.6.0","lodash.find":"^4.6.0","lodash.findindex":"^4.6.0","lodash.foreach":"^4.5.0","lodash.forin":"^4.4.0","lodash.get":"^4.4.2","lodash.has":"^4.5.2","lodash.includes":"^4.3.0","lodash.indexof":"^4.0.5","lodash.isempty":"^4.4.0","lodash.isequal":"^4.5.0","lodash.isfunction":"^3.0.9","lodash.isnumber":"^3.0.3","lodash.isobject":"^3.0.2","lodash.isstring":"^4.0.1","lodash.isundefined":"^3.0.1","lodash.keys":"^4.2.0","lodash.map":"^4.6.0","lodash.merge":"^4.6.1","lodash.noop":"^3.0.1","lodash.orderby":"^4.6.0","lodash.reduce":"^4.6.0","lodash.remove":"^4.7.0","lodash.set":"^4.3.2","lodash.size":"^4.2.0","lodash.toarray":"^4.4.0","rsvp":"^3.6.2"},"devDependencies":{"browserify":"^16.2.0","browserify-shim":"^3.8.14","chai":"~3.5.0","chai-as-promised":"^6.0.0","es5-shim":"^4.5.10","gulp":"^3.8.10","gulp-bump":"^3.1.1","gulp-footer":"^1.1.2","gulp-header":"^1.8.12","gulp-istanbul":"^1.1.3","gulp-jshint":"^2.1.0","gulp-load-plugins":"^1.5.0","gulp-mocha":"^2.0.0","gulp-rename":"^1.2.2","gulp-shell":"^0.6.5","jshint":"^2.9.5","jshint-stylish":"^2.2.1","karma":"^2.0.2","karma-browserify":"^5.2.0","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","karma-phantomjs-launcher":"^1.0.4","karma-sinon":"^1.0.5","mocha":"^5.1.1","phantomjs-prebuilt":"^2.1.16","semver":"^5.5.0","sinon":"^4.5.0","sinon-chai":"~2.14.0","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^1.1.2","yargs":"^11.1.0"},"gitHead":"8fe31b90347866d467b76fd57b6cfacc4f53da09","_id":"@ahum/firebase-mock@2.3.0","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-RcYi+l76S3PI3vRAlX+Zr0h9t1FZFWLX4xYT5+/g44+ILo80HZ4kgWo4i6FKiq4rjChhrcvJE3vymyvWTecogA==","shasum":"7208894e6cedf3c5681db47e1f19d240c0813170","tarball":"https://registry.npmjs.org/@ahum/firebase-mock/-/firebase-mock-2.3.0.tgz","fileCount":29,"unpackedSize":1552610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0sRICRA9TVsSAnZWagAAkawQAJ1DcCCfII9Slb9gJz4e\nvj8v9UX8rmtoDt7TWdR9i+6tj8zTjRcf7J6O0BGZtKtKCzXTxlmU6o2uGzRF\nVebRa+nP6l4G0TrETqJyq6cFfgrOuvjLRj83QOJhDmFOF7RwaqwsvU4UV+tg\nPggBM0/XXikzL9z+jzCYJQ04s+AenI41BstdMqrJP7aOhU9oniflX0nrM2hJ\ndLuybUOBVx6b1QTYq6PwNw3NEkK3gtNPbQUT3YBLzpQH4omo4A7rdospxVx/\nSU0jAAVMm0kvADpjNNIE5cgOvF2DvJHzk5fWdss/PCH6HKsfL624uCV0fb9I\n7xh6oGd0rj5a/DdXnSvs5BIxK/BOtaI9FXFXs0TZpGs/EXxl7VhTGkcF5/v5\nmtgqbFPb2ZX8Sckb2bCNzefI9siJwQqTllhPhGtxnNproL0u9MzO1Ujuqgzo\nUP4g/N+5/gPTMlbVzUcbtoulFDZFpCTg5ABcNRFHGLtEOwz4jJv28yLh+zUA\nFd3Vnmb3pOcQtUxk3qGEHultL33rOkSpU1W9C4OcPWrPD9G4Vk9J06WpGTTq\ntDUX0UWI6DZwlYD1Q3UqsaEeXEptsEFeAgq50NBoX0BfYtIIzbtMnXaJt5a8\ntjQsNlaJveu6A9vuoCo7sfm2L5Of/1ogX3opXzZ3g6oZWeRErU+lYKldM/MG\nMcYv\r\n=PpE9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1XFEzQ+xCCHvyRL2DWr07csfLSDeyWhtCCDwmoa8mbAiEAkZCjCCcS943M93sWJm2NGcI6NkQV0RY8HkCOQGVNeXc="}]},"maintainers":[{"name":"ed.eustace","email":"ed.eustace@gmail.com"}],"_npmUser":{"name":"ed.eustace","email":"ed.eustace@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firebase-mock_2.3.0_1557316679475_0.8498588815984571"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-08T11:57:59.269Z","2.3.0":"2019-05-08T11:57:59.732Z","modified":"2022-04-04T12:14:34.008Z"},"maintainers":[{"name":"ed.eustace","email":"ed.eustace@gmail.com"}],"description":"A fork of 'firebase-mock' - Firebase mock library for writing unit tests","homepage":"https://github.com/soumak77/firebase-mock","keywords":["firebase","mock"],"repository":{"type":"git","url":"git://github.com/soumak77/firebase-mock.git"},"author":{"name":"Brian Soumakian"},"bugs":{"url":"https://github.com/soumak77/firebase-mock/issues"},"license":"MIT","readme":"Firebase Mock [![Build Status](https://travis-ci.org/soumak77/firebase-mock.svg?branch=master)](https://travis-ci.org/soumak77/firebase-mock)\n============\n\nFirebase Mock extends [mockfirebase](https://github.com/katowulf/mockfirebase) to provide support for the following Firebase Javascript SDKS:\n- [firebase](https://github.com/firebase/firebase-js-sdk)\n- [firebase-admin](https://github.com/firebase/firebase-admin-node)\n- [firebase-functions](https://github.com/firebase/firebase-functions)\n\n## Setup\n```bash\nnpm install firebase-mock --save-dev\n```\nFollow the steps in the [Setup Tutorial](tutorials/integration/setup.md) to create a mock SDK to be used in your tests.  Then follow one of the tutorials below based on your testing framework:\n* [Proxyquire](tutorials/integration/proxyquire.md)\n* [Jest](tutorials/integration/jest.md)\n* [Window Override](tutorials/integration/window.md)\n\n## API\n\nFirebase Mock supports the client-side [JavaScript API](https://firebase.google.com/docs/reference/js/) and server-side [Admin API](https://firebase.google.com/docs/reference/admin/node/) plus a small set of utility methods documented fully in the [API Reference](API.md). Rather than make a server call that is actually asynchronous, Firebase Mock allows you to either trigger callbacks synchronously or asynchronously with a specified delay ([`ref.flush`](API.md#flushdelay---ref)).\n\n## Tutorials\n### Client ([firebase](https://github.com/firebase/firebase-js-sdk))\n* Authentication\n  * [Basic](tutorials/client/auth/authentication.md)\n  * [JWT Tokens](tutorials/client/auth/tokens.md)\n* Realtime Database\n  * [Basic](tutorials/client/rtdb/basic.md)\n  * [Simulating Errors](tutorials/client/rtdb/errors.md)\n  * [Ordering](tutorials/client/rtdb/spies.md)\n* [Firestore](tutorials/client/firestore.md)\n* [Storage](tutorials/client/storage.md)\n\n### Admin ([firebase-admin](https://github.com/firebase/firebase-admin-node))\n* Authentication\n  * [Basic](tutorials/admin/authentication.md)\n  * [JWT Tokens](tutorials/admin/tokens.md)\n* [Realtime Database](tutorials/admin/rtdb.md)\n* [Firestore](tutorials/admin/firestore.md)\n* [Storage](tutorials/admin/storage.md)\n\n### Functions ([firebase-functions](https://github.com/firebase/firebase-functions))\n* [Realtime Database](tutorials/functions/rtdb.md)\n* [Firestore](tutorials/functions/firestore.md)\n* [HTTP](tutorials/functions/http.md)\n\n## Alternatives\n* [firebase-server](https://github.com/urish/firebase-server)\n* [firebase-functions-test](https://firebase.google.com/docs/functions/unit-testing)\n","readmeFilename":"README.md"}