browserify-ftw
Version:
Upgrade your app from requireJS AMD to commonJS module format via an automated refactor step in order to browserify it.
10 lines (9 loc) • 562 B
JavaScript
module.exports = {
quote : '\'' // '\'' or '"'
, style : 'var' // 'var', 'comma', 'comma-first'
, indent : 2 // the tab size used in your project
, directoryFilter : null // not supported yet
, fileFilter : '.js' // the extension of the file to upgrade
, dryrun : true // true|false if true no changes will be written to upgraded files
, moveStrict : true // true|false if true moves 'use strict;' statement to the top of the file
};