Backbase Launchpad-CLI tools
Backbase Launchpad tools for widgets / modules
Information
name | version | node |
---|
backbase | 0.2.5 | >= 0.10 |
Requirements
Install
npm i backbase -g
Usage
Using bb as binary.
Generate widget/module:
arguments:
- url 'https://stash.backbase.com/scm/lp/widget-ng-template.git'
options:
bb generate <url>
Install bower dependencies:
arguments:
options:
bb install
arguments:
options:
- l --link auto link dependencies (if they are already linked)
bb start
Test:
arguments:
options:
- w --watch watch test files and source files
bb test
Build:
arguments:
options:
- - s --skipTests skips unit tests
bb build
Register: Register bower package to registry endpoint
arguments:
options:
bb register
Unregister: Unregister bower package to registry endpoint
arguments:
options:
bb unregister
Configuration under the bower.json file
This is the default config structure if is not specified otherwise in bower.json file
"config": {
"paths" : {
"scripts": "./scripts",
"docs": "./docs",
"target": "./dist",
"templates": "./templates",
"styles": "./styles",
"test": "./test",
"index": "./index-dev.html"
},
"proxies": {
"/api": "http://localhost:3030/"
}
....
}
TODO:
Commands
- bb docs (generate documentation)
- bb bump (bump the verion)
- bb package (generate a zip package from dist folder)
Output
- better output
- use debug flag
Test
Contributing
tba