browserify-global-shim
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -8,3 +8,6 @@ 'use strict'; | ||
module.exports = transformTools.makeRequireTransform('browserify-global-shim', | ||
{evaluateArguments: true}, | ||
{ | ||
evaluateArguments: true, | ||
jsFilesOnly: true | ||
}, | ||
function(args, opts, cb) { | ||
@@ -11,0 +14,0 @@ var shimmedModules = opts.config || {}; |
{ | ||
"name": "browserify-global-shim", | ||
"version": "1.0.0", | ||
"main": "browserify-global-shim.js", | ||
"description": "Browserify transform for replacing modules with global variables", | ||
"homepage": "https://github.com/rluba/browserify-global-shim", | ||
"bugs": "https://github.com/rluba/browserify-global-shim/issues", | ||
"author": { | ||
"name": "Raphael Luba", | ||
"email": "raphael@leanbyte.com" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/rluba/browserify-global-shim" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT" | ||
} | ||
], | ||
"devDependencies": { | ||
"grunt-contrib-jshint": "~0.7.0", | ||
"grunt-contrib-watch": "~0.5.0", | ||
"grunt-mocha-test": "~0.8.1", | ||
"jshint-stylish": "~0.1.3", | ||
"load-grunt-tasks": "~0.2.0", | ||
"mocha": "~1.16.1", | ||
"time-grunt": "~0.2.0", | ||
"assert": "~1.1.0" | ||
}, | ||
"dependencies": { | ||
"browserify-transform-tools": "~1.2.1", | ||
"lodash": "~2.4.1" | ||
} | ||
"name": "browserify-global-shim", | ||
"version": "1.0.1", | ||
"main": "browserify-global-shim.js", | ||
"description": "Browserify transform for replacing modules with global variables", | ||
"homepage": "https://github.com/rluba/browserify-global-shim", | ||
"bugs": "https://github.com/rluba/browserify-global-shim/issues", | ||
"author": { | ||
"name": "Raphael Luba", | ||
"email": "raphael@leanbyte.com" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/rluba/browserify-global-shim" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT" | ||
} | ||
], | ||
"devDependencies": { | ||
"grunt-contrib-jshint": "~0.7.0", | ||
"grunt-contrib-watch": "~0.5.0", | ||
"grunt-mocha-test": "~0.8.1", | ||
"jshint-stylish": "~0.1.3", | ||
"load-grunt-tasks": "~0.2.0", | ||
"mocha": "~1.16.1", | ||
"time-grunt": "~0.2.0", | ||
"assert": "~1.1.0" | ||
}, | ||
"dependencies": { | ||
"browserify-transform-tools": "~1.2.1", | ||
"lodash": "~2.4.1" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # browserify-global-shim | ||
Are you usind browserify to convert a module that depends on [lo-dash](http://lodash.com), [jQuery](http://jquery.com), [q](http://documentup.com/kriskowal/q/) or some other omnipresent library? And you don't want to include this dependency in your browserify-build because it's already part of your web app? Use **browserify-global-shim** to replace `require('some module')` with references to a global variable. | ||
Are you using browserify to convert a module that depends on [lo-dash](http://lodash.com), [jQuery](http://jquery.com), [q](http://documentup.com/kriskowal/q/) or some other omnipresent library? And you don't want to include this dependency in your browserify-build because it's already part of your web app? Use **browserify-global-shim** to replace `require('some module')` with references to a global variable. | ||
@@ -8,0 +8,0 @@ ## Getting Started |
6960
104