1.1.0 • Published 6 years ago
@tririga/tri-bundler v1.1.0
tri-bundler
A tool for bundling a Polymer 3 TRIRIGA UX view into a single output component file.
Installation
$ npm install @tririga/tri-bundler -gSynopsis
$ tri-bundler Options
-u, --user userThe user name of your TRIRIGA user. Required.-p, --password passwordThe password for your TRIRIGA user. Required.--url urlThe URL of the TRIRIGA server. It must include the context path. Required.--basicuser userThe user name for basic authentication.--basicpassword passwordThe user password for basic authentication.-v, --view view_nameThe name of the view to be bundled. Required.--component fileThe root component filename of the view you want to bundle. Required.--output fileThe output component filename that will be generated after bundling. Required.--compile-es5Compile the bundled file to Javascript ES5. Optional.--versionPrint tri-bundler version.-q, --quietDo not print any non-error message to the console.-h, --helpPrint this help information.
Usage
Bundle the Polymer 3 my-ux-view
$ tri-bundler -u myUserName -p myPassword --url http://someHostName:9080/someContext -v my-ux-view --component my-ux-view-dev.js --output my-ux-view.jsBundle the Polymer 3 my-ux-view with a relative directory path
$ tri-bundler -u myUserName -p myPassword --url http://someHostName:9080/someContext -v my-ux-view --component my-ux-view-dev.js --output output/my-ux-view.js