Ninety-nine Pitchers of Malt

    buildbro

    0.1.4 • Public • Published

    BUILD IT BRO!!

    NPM

    Media Suite

    An easy commandline tool to configure, build, and serve Browserify projects

    buildbro --help for usage information

    Options:

    -h, --help            output usage information
    -V, --version         output the version number
    -e, --es6             Transform es6 code to es5 using 6to5
    -d, --debug           Include source files
    -f, --fullpaths       Expand Browserify ids to full paths
    -m, --minify          Minify the resulting bundle
    -g  --minifyglobal    Minify and include all node_modules when minifying - may cause hard to trace errors
    -b, --brfs            Use brfs transform
    -j, --jshint          Run jshint before every build
    -w, --watch           Watch files for changes and update bundle
    -s, --serve [folder]  Serve up files in the given directory
    -p, --port [port]     Set which port should be used when using the -s, --serve option
    

    minifyglobal minifyglobal will run the UglifyJS2 transform on all required node modules.

    Try falling back to the minify flag if you encountering errors during build.

    Example:

    buildbro --es6 --brfs --jshint --watch --serve dist --port 3000 ./index.js ./dist/bundle-min.js
    

    Install

    npm i buildbro

    DownloadsWeekly Downloads

    0

    Version

    0.1.4

    License

    MIT

    Last publish

    Collaborators

    • coder_stu
    • digitalsadhu
    • matt-in-a-hat