shared-flowright
v1.0.102
Published
This folder is for shared code between the frontend and the backend as such you should not add anything that the backend uses and
Downloads
27
Readme
Shared
This folder is for shared code between the frontend, backend and scripts as such you should
not add anything that the backend uses (e.g. firebase-admin). Use npm link
if you are in active development
cd shared
npm link
cd ../functions
npm link shared-flowright
Publishing
this command will publish to the npm repository so that production code will grab the latest package while building.
An artifact is it will bump the patch version in the package.json
of shared. So you will need to commit that.
npm run p
Guidelines
- Do not allow the use of firebase in the
shared-flowright
library. It is meant to be a place for generic javascript functions to be used.