@odd-industries/odd-charting
TypeScript icon, indicating that this package has built-in type declarations

5.7.0 • Public • Published

odd-charting

Setting up the Firebase Functions emulator

First we need to start the Firebase Functions emulator. On the odd-vision-functions repository run, in two different terminals:

yarn build:watch

and then

yarn serve

Once started, visit Functions to see it in action.

Setting up the Firebase Firestore emulator

First we need to start the Firebase Firestore emulator:

firebase emulators:start --only firestore

Once started, we should seed it:

export FIRESTORE_EMULATOR_HOST="localhost:5000" && node ./tests/restore/index.js

If you don't have data to seed with, you can download some via:

unset FIRESTORE_EMULATOR_HOST && node ./tests/restore/index.js

Once seeded, visit Firestore to see it in action.

Testing

On the odd-charting repository (here) run:

yarn test:unit

or

yarn test:integration

Releasing

yarn release

Readme

Keywords

none

Package Sidebar

Install

npm i @odd-industries/odd-charting

Weekly Downloads

54

Version

5.7.0

License

MIT

Unpacked Size

19.7 MB

Total Files

116

Last publish

Collaborators

  • odd-btkramm