Package Exports
- buildr
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (buildr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Welcome to Buildr. The JavaScript Package Buildr.
Installation
npm install buildr
Note: if you would like to be able to compress image files, you will also need to follow the installation instructions here
Usage
buildr .
Configuration
Buildr does not require any configuration by default, but if you would like to configure it you can create a package.json
file which contains the following keys a buildr
key:
compress
: a boolean value or an object, if an object:js
: a boolean valuecss
: a boolean valueimg
: a boolean valuehtml
: a boolean value
check
: a boolean value or an object, if an object:js
: a boolean value or a javascript filenamecss
: a boolean value or a css filenamejsOptions
: a object
bundle
: a boolean value or an object, if an object:js
: a boolean value or a javascript filenamecss
: a boolean value or a css filenamesrc
: a boolean value; for whether or not we should bundle the source files too
directories
: an objectout
: a directory path; of where the compiled files will gosrc
: a directory path; of where source files come from
subpackages
: an array; containing the locations of each subpackage to compress and bundlefiles
: an objectjs
: a boolean value or array; of javascript files to compress and bundlecss
: a boolean value or array; of css files to compress and bundleimg
: a boolean value or array; of css files to compress and bundle
templates
: an objectout_bundle_header.js
: a file path; to the header for the out bundled fileout_bundle_footer.js
: a file path; to the footer for the out bundled fileout_bundle_item.js
: a file path; to the replace string for each out bundled fileout_bundle_subpackage.js
: a file path; to the replace string for each out bundled subpackagesrc_bundle_header.js
: a file path; to the header for the src bundled filesrc_bundle_footer.js
: a file path; to the footer for the src bundled filesrc_bundle_item.js
: a file path; to the replace string for each src bundled filesrc_bundle_subpackage.js
: a file path; to the replace string for each src bundled subpackage
License
Licensed under the MIT License Copyright 2011 Benjamin Arthur Lupton
Todo
- Make it asynchronous
- Turn the CSS minifier into it's own project