backed-builder

1.3.2 • Public • Published

backed-builder NPM version Build Status Dependency Status Coverage percentage

A command line interface for fast es6 development

Installation

$ npm install backed-builder

Usage

soon...

API

Builder.build[{bundles}]

bundles

Type: array
Default: undefined
Options: src, dest, format, babel

An array of objects with each object containing a src & dest property

Minimal config
{
  "bundles": [{
    "src": "some/path/to/index",
    "dest": "some/path/to/index"
  }]
}
 
Minimal config with multiple bundles
{
  "bundles": [{
    "src": "some/path/to/index",
    "dest": "some/path/to/index"
  }, {
    "src": "some/other/path/to/element",
    "dest": "some/other/path/to/element"
  }]
}
Full config
{
  "name": "some-element",
  "bundles": [{
    "src": "some/path/to/index",
    "dest": "some/path/to/index",
    "moduleName": "someElement",
    "format": "iife"
  }, {
    "src": "some/other/path/to/element",
    "dest": "some/other/path/to/element",
    "moduleName": "someElement",
    "format": ["iife", "es"],
    "babel": {"babel-config"}
  }]
}
 

Readme

Keywords

none

Package Sidebar

Install

npm i backed-builder

Weekly Downloads

2

Version

1.3.2

License

MIT

Last publish

Collaborators

  • vandeurenglenn