JSPM

loopback-connector-firebase3

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q34207F
  • License MIT

With Firebase SDK 3.x

Package Exports

  • loopback-connector-firebase3

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 (loopback-connector-firebase3) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Loopback Connector Firebase3

Build Status Coverage Status

With Firebase SDK 3.x

Notes

For TravisCI to work, we need to encrypt the file that contains the private key. See a gist.

Data is encrypted before add to Git:

# Encrypt
cat /dev/urandom | head -c 10000 | openssl sha1 > ./.secret
openssl aes-256-cbc -pass "file:./.secret" -in ./test/serviceAccount.json -out ./test/serviceAccount.json.enc -a

On Travis it can be decrypted with:

# Decrypt on Travis
openssl aes-256-cbc -pass "pass:${FIREBASE_ACCOUNT_PASS}" -in ./test/serviceAccount.json.enc -out ./test/serviceAccount.json -d -a