1.0.2 • Published 11 years ago
publicist-umd v1.0.2
publicist-umd 
UMD build task for publicist. Uses Browserify to generate a standalone bundle so people who don't use Node/Browserify can consume your library.
Installing
npm install --save-dev publicist-umdAPI
See the publicist plugin docs for full details on how publicist-umd will be called.
Configuration
publicist-umd loads the following default configuration which you can selectively override via publicist:
name: Passed to browserify'sopts.standaloneto create the global namespace. Defaults to thenamefield frompackage.jsonfilename: The filename of the generated JavaScript file. Defaults to thenamewith a.jsextension.browserifytransform: An array of transforms to be registered with browserify. Normally you should store these under thebrowserify.transformfield inpackage.jsondirectly. Configuring transforms through publicist should be reserved for when your UMD build requires transforms that shouldn't run with normal browserify usage.
Build
Creates a standalone UMD build and writes it to the specified dest from your configuration.