Noiseless Peaceful Morning
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    bb-lp-toolspublic

    Backbase Launchpad-CLI tools

    Backbase Launchpad tools for widgets / modules

    Information

    name version node
    bb-lp-tools 0.0.1 >= 0.10

    Requirements

    • git
    • nodejs
    • bower
    • curl

    Install

    npm i bb-lp-tools -g 
    

    Usage

    Using bb-lp as binary.

    Generate widget/module:

    arguments: - url 'https://stash.backbase.com/scm/lp/widget-ng-template.git' options:

    • NONE
    bb-lp generate <url>

    Install bower dependencies:

    arguments:

    • <package-name>

    options:

    • NONE
    bb-lp install

    Start local server: http://localhost:3000

    arguments:

    • NONE

    options:

    • l --link auto link dependencies (if they are already linked)
    bb-lp start

    Test:

    arguments:

    • NONE

    options:

    • w --watch watch test files and source files
    bb-lp test

    Build:

    arguments:

    • NONE

    options:

    • - s --skipTests skips unit tests
    bb-lp build

    Register: Register bower package to registry endpoint

    arguments:

    options:

    • NONE
    bb-lp register

    Unregister: Unregister bower package to registry endpoint

    arguments:

    options:

    • NONE
    bb-lp 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-lp docs (generate documentation)
    • bb-lp import (import to portal)
    • bb-lp bump (bump the verion)
    • bb-lp package (generate a zip package from dist folder)

    Output

    • better output
    • use debug flag

    Test

    • add tests

    Contributing

    tba

    install

    npm i bb-lp-tools

    Downloadsweekly downloads

    3

    version

    0.0.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar