@uhuru/enebular-infomotion-v2
v1.0.62
Published
Install modules
Downloads
15
Keywords
Readme
InfoMotion-v2
How to start
Install modules
npm install
Run locally
Host files on local server http://localhost:8080/
npm run example
to run webpacks dev mode
npm run dev
- you may need to run sudo
Example Htmls
Unless indicated at the top of the html it should work.
Current working html examples:
- index.html (milkcocoa adapter)
- firebase.html (firebase adapter)
- pubnub.html (pubnub adapter)
- all-datasource (all 3 adapters)
- mock.html (mock adapter)
- random.html (random adapter)
Build
Build for enebular
npm run build
Dist files to paste in Enebular's public > emi > enebular-infomotion
folder
infomotion.js
infomotionUI.js
and folder
css
Iframe folder is also needed in enebular's public > emi > iframe
Iframe folder contains two files:
- iframe.js
- iframe.html
iframe.js is packaged but not currently packaged by infoMotion-v2. original script can be located in the original InfoMotion repo.
Unit Test
npm run test
or
npm run test:watch
Run lint
npm run lint
Run Doc (Not working)
npm run doc