Frontend application for case study
For compiling application Rollup is used. It compiles typescript, rolles it up, finaly uglifyes. Treeshaking can be added here.
rollup -c rollup-config.js
App Application Bootstrap class. Declares all clases
Annyang Wrapper class for Annyang library. Handles speech recognition and command matching tasks.
Converter Converts correncies and subscribes to convert streams
Online Online class listens to network and fires stream on network status changes.
ServiceWorkerController A class for registering and controlling service worker
DataCollector Fetches data and decides which source to use.
dexye Wrapper class for Dexie. With methods for indexedDb
Dom Dom manipulation class
ServiceWorker Which enablas application cache and offline accessebility