Package Exports
- firebase-tools-extra
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (firebase-tools-extra) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
firebase-tools-extra
Extra methods for firebase-tools which support using a service account
Installation
$ npm i --save-dev firebase-tools-extraUsage
firebase-tools-extra can be used for in a number of ways, the most common is through a wrapper such as cypress-firebase:
With cypress-firebase
It is recommended for you to use cypress-firebase to call firebase-tools-extra. Follow the guide in the cypress-firebase README.
Tests
Tests are currently not set up since they were causing timeouts when trying to shut down the emulator. They will be re-enabled once that is solved.
Add back
- Install
yarn add -D concurrently wait-port ts-mocha chai mocha @types/mocha @types/expect @firebase/testing - Add the npm scripts:
"test:full": "concurrently \"npm run emulate\" \"wait-port -o silent 8080 && npm run test\"", "test": "ts-mocha -p ./tsconfig.json test/**/*.spec.ts --exit",
- Uncomment the command in
travis.yml
License
MIT