1.0.51 • Published 5 years ago
@stelladoradus/device-transmission-ui v1.0.51
Application UI
This package contains the UI component responsible for:
- initiating the file upload process (recipient selection, file upload)
- monitoring the progress of the pending uploads
The UI can be built in:
- development mode, when it's run as a standalone application
- production mode, when it builds a redistributable component which can be embedded in another AngularJS project
Build Process
To start development, simply run
npm run dev
This command will:
- Perform the initial build of the application
- Populate /dist folder with redistributables
- Launch the development server in live-reload mode
- Keep rebuilding the application as you edit and save the code
Navigate to http://localhost:8001/ to see the UI in action.
Build Process Details
The UI is built using rollup
bundler, equipped with a number of plugin to perform the usual web application build tasks:
- Bundle JS files together (rollup)
- Tree shaking (rollup)
- Module and alias resolution (@rollup/plugin-node-resolve, @rollup/plugin-alias)
- Use 3rd party modules in CommonJS format (rollup-plugin-commonjs)
- Compile and bundle SCSS stylesheets (rollup-plugin-scss)
- Bundle HTML templates (rollup-plugin-html)
- Bundle JSON data (rollup-plugin-json)
- Populate /dist folder (rollup-plugin-copy)
- Transpile to ES2015 for older browsers (rollup-plugin-babel)
- Development server and live reload (rollup-plugin-serve, rollup-plugin-livereload)