{"_id":"gulp-react-bundle","_rev":"27-e5c6e091e791828a874ee838bb46aca4","name":"gulp-react-bundle","description":"This is a JavaScript build tool that compiles our JavaScript code into a single file.","dist-tags":{"latest":"0.1.11"},"versions":{"0.1.6":{"name":"gulp-react-bundle","version":"0.1.6","description":"This is a JavaScript build tool for our proejects that works with gulp.","main":"bundle.js","dependencies":{"lodash":"~2.4.1","immutable":"~2.0.11","transit-js":"~0.8.714","react":"~0.11.1","yargs":"~1.3.1","vinyl-source-stream":"~0.1.1","browserify":"~5.10.1","watchify":"~1.0.2","gulp-streamify":"0.0.5","gulp-uglify":"~0.3.1","reactify":"~0.14.1","gulp":"~3.8.7","gulp-react":"~0.5.0","gulp-sourcemaps":"~1.1.1","gulp-browserify":"~0.5.0","arrayize":"~0.1.3"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"BSD-2-Clause","private":false,"_id":"gulp-react-bundle@0.1.6","dist":{"shasum":"a9ab25085dd91b5668d3d34a1a3d8e1b7ad8b76a","tarball":"https://registry.npmjs.org/gulp-react-bundle/-/gulp-react-bundle-0.1.6.tgz","integrity":"sha512-1vNJPv4jwU6NhEJ18mOWh9G+towbn6owa7UsDfwUzFmsWJB+ccFLYmsPD46VjZqWxKjtceRVzD8ZYI+9XQ7mrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFi091uEiY3s+tE/GVYTtjvrSC6CExYoEbUqItUW87zAIhAM4Pog+d9zWk2pCFxTuXmLhbG9nFme87aT9gANXrcKRq"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"thesunny","email":"thesunny@gmail.com"},"maintainers":[{"name":"thesunny","email":"thesunny@gmail.com"}]},"0.1.7":{"name":"gulp-react-bundle","version":"0.1.7","description":"This is a JavaScript build tool that compiles our JavaScript code into a single file.","main":"bundle.js","dependencies":{"lodash":"~2.4.1","immutable":"~2.0.11","transit-js":"~0.8.714","react":"~0.11.1","yargs":"~1.3.1","vinyl-source-stream":"~0.1.1","browserify":"~5.10.1","watchify":"~1.0.2","gulp-streamify":"0.0.5","gulp-uglify":"~0.3.1","reactify":"~0.14.1","gulp":"~3.8.7","gulp-react":"~0.5.0","gulp-sourcemaps":"~1.1.1","gulp-browserify":"~0.5.0","arrayize":"~0.1.3"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"BSD-2-Clause","private":false,"_id":"gulp-react-bundle@0.1.7","dist":{"shasum":"33f2c74bd0dbc00b05f0df9a4c439c631dbf7679","tarball":"https://registry.npmjs.org/gulp-react-bundle/-/gulp-react-bundle-0.1.7.tgz","integrity":"sha512-I1XXBegXyY71kEpAojHXQ0xiyhJ6clA09vw2nfJdbOTeJC7ew04TwyJH+E1X84+JAkfrh9pAhz4NUK3WIGi7jA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/XK8LAS/sgFAjzaLqGOYRAOSL2h/iIipES5FV01CZ2AiEAolihIkmH6Pp/CYt4QZN0kR9GDCilX4s1Eq2rqDRHwBg="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"thesunny","email":"thesunny@gmail.com"},"maintainers":[{"name":"thesunny","email":"thesunny@gmail.com"}]},"0.1.8":{"name":"gulp-react-bundle","version":"0.1.8","description":"This is a JavaScript build tool that compiles our JavaScript code into a single file.","main":"bundle.js","dependencies":{"lodash":"~2.4.1","immutable":"~2.0.11","transit-js":"~0.8.714","react":"~0.11.2","yargs":"~1.3.1","vinyl-source-stream":"~0.1.1","browserify":"~5.10.1","watchify":"~1.0.2","gulp-streamify":"0.0.5","gulp-uglify":"~0.3.1","reactify":"~0.14.1","gulp":"~3.8.7","gulp-react":"~0.5.0","gulp-sourcemaps":"~1.1.1","gulp-browserify":"~0.5.0","arrayize":"~0.1.3"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"BSD-2-Clause","private":false,"_id":"gulp-react-bundle@0.1.8","dist":{"shasum":"3f41f7abe382fd20219dcf9805f7da3b867cf237","tarball":"https://registry.npmjs.org/gulp-react-bundle/-/gulp-react-bundle-0.1.8.tgz","integrity":"sha512-Wn78H0BZSoYhedKFngmTabr7kNY5O9p0LiFePJJn1tkCUF2UOWD6Xm40VaWm+O9FPTaOKGnV5rbHwvzJYYQZxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+4QcMI2UdRFnhx1JldgO7ML2UAAV8jc66iEsXrtQlBgIhANY/1ELswouNAJ+DHDgY9Ng11VDzf5L7vfwYCDpE8sy6"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"thesunny","email":"thesunny@gmail.com"},"maintainers":[{"name":"thesunny","email":"thesunny@gmail.com"}]},"0.1.9":{"name":"gulp-react-bundle","version":"0.1.9","description":"This is a JavaScript build tool that compiles our JavaScript code into a single file.","main":"bundle.js","dependencies":{"lodash":"~2.4.1","immutable":"~2.0.11","transit-js":"~0.8.714","react":"~0.11.2","yargs":"~1.3.1","vinyl-source-stream":"~0.1.1","browserify":"~5.10.1","watchify":"~1.0.2","gulp-streamify":"0.0.5","gulp-uglify":"~0.3.1","reactify":"~0.14.1","gulp":"~3.8.7","gulp-react":"~0.5.0","gulp-sourcemaps":"~1.1.1","gulp-browserify":"~0.5.0","arrayize":"~0.1.3"},"devDependencies":{"jquery":"~2.1.1","bluebird":"~2.3.11"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"BSD-2-Clause","private":false,"_id":"gulp-react-bundle@0.1.9","dist":{"shasum":"6f2e1bee2c4e81909208506ab0e231b529ba1f02","tarball":"https://registry.npmjs.org/gulp-react-bundle/-/gulp-react-bundle-0.1.9.tgz","integrity":"sha512-iTIzpLgpHeBnPXLzA4i0JVOn10ssREWq9PsB9fMRyfgMO/3R2PkxD5ShxiwuFIf1LGpc4wnyP4fl883mCReSxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICgzO2PoinWBc4qk38nu8ngsOfjtYWal0FJZ/isSTV/eAiEAhLFGKF5Z7jX/fDq7GKiEb7LdWPnppemW59cxlRvK/Hw="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"thesunny","email":"thesunny@gmail.com"},"maintainers":[{"name":"thesunny","email":"thesunny@gmail.com"}]},"0.1.10":{"name":"gulp-react-bundle","version":"0.1.10","description":"This is a JavaScript build tool that compiles our JavaScript code into a single file.","main":"bundle.js","dependencies":{"lodash":"~2.4.1","immutable":"~2.0.11","transit-js":"~0.8.714","react":"~0.11.2","yargs":"~1.3.1","vinyl-source-stream":"~0.1.1","browserify":"~5.10.1","watchify":"~1.0.2","gulp-streamify":"0.0.5","gulp-uglify":"~0.3.1","reactify":"~0.14.1","gulp":"~3.8.7","gulp-react":"~0.5.0","gulp-sourcemaps":"~1.1.1","gulp-browserify":"~0.5.0","arrayize":"~0.1.3"},"devDependencies":{"jquery":"~2.1.1","bluebird":"~2.3.11"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"BSD-2-Clause","private":false,"_id":"gulp-react-bundle@0.1.10","dist":{"shasum":"c98231d000bb37472916bc60a639ba07dd3c5015","tarball":"https://registry.npmjs.org/gulp-react-bundle/-/gulp-react-bundle-0.1.10.tgz","integrity":"sha512-c/O57o9K9dySHS5F7MXQqz6smWNl/AtlgzrNyymaku8JcUja90kHdTbmaHchZ0WtxC6/syo/TNHCkCbploIZfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzYHekm2FF7olcE/xyy8vw52wIKzc/KSsUohWKChHRTAiEAiqFnkim40AV5JBiA1pV/YmiAZJguuulS6YY4PBYuAFg="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"thesunny","email":"thesunny@gmail.com"},"maintainers":[{"name":"thesunny","email":"thesunny@gmail.com"}]},"0.1.11":{"name":"gulp-react-bundle","version":"0.1.11","description":"This is a JavaScript build tool that compiles our JavaScript code into a single file.","main":"bundle.js","dependencies":{"lodash":"~2.4.1","immutable":"~2.0.11","transit-js":"~0.8.714","react":"~0.11.2","yargs":"~1.3.1","vinyl-source-stream":"~0.1.1","browserify":"~5.10.1","watchify":"~1.0.2","gulp-streamify":"0.0.5","gulp-uglify":"~0.3.1","reactify":"~0.14.1","gulp":"~3.8.7","gulp-react":"~0.5.0","gulp-sourcemaps":"~1.1.1","gulp-browserify":"~0.5.0","arrayize":"~0.1.3"},"devDependencies":{"jquery":"~2.1.1","bluebird":"~2.3.11","ajax-promise":"~0.8.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"BSD-2-Clause","private":false,"_id":"gulp-react-bundle@0.1.11","dist":{"shasum":"0061b02c5d41d211cb2808bfa1ecb968a3aa4827","tarball":"https://registry.npmjs.org/gulp-react-bundle/-/gulp-react-bundle-0.1.11.tgz","integrity":"sha512-6zWzO/xG0LS+DkpmFAR4J78PeC1v4GkvcEmGRRssS4nWdoRVc/oyOaNXQ3FLBr/Onv5xRGY513bwY0VlS0poqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFynqRALY057r1CwEgVX7JeCfenCuHqDZiSdY9DdpepAAiEAteLONLOgXutsuA2w1+HDgDllHjnF0CXl7QMfUGm2NAk="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"thesunny","email":"thesunny@gmail.com"},"maintainers":[{"name":"thesunny","email":"thesunny@gmail.com"}]}},"readme":"# gulp-react-bundle\r\n\r\nThis is a JavaScript build tool that compiles our JavaScript code into a single file.\r\n\r\nIt adds these featuers to the Browserify Bundle:\r\n\r\n    * JSX\r\n    * ES6\r\n    * Source Maps\r\n\r\nIt is made for these features:\r\n\r\n    * Automatic Watchify\r\n    * External Libraries (that don't get compiled into other libraries)\r\n\r\n## Installation\r\n\r\nThis will install thebundle from the github repo and save it into `package.json`.\r\n\r\n```\r\nnpm install gulp-react-bundle --save-dev\r\n```\r\n\r\n\r\n## Usage\r\n\r\nCreate `gulpfile.js` in the root directory of your project.\r\n\r\n\r\n```javascript\r\nvar gulp = require('gulp');\r\nvar bundle = require('gulp-react-bundle');\r\n\r\ngulp.task('build', function() {\r\n  bundle('./js/alpha.js', './build/alpha.js');\r\n});\r\n\r\ngulp.task('build-with-dependency', function() {\r\n  var lib = bundle.lib(['lodash', 'jquery'], './build/alpha.js');\r\n  bundle('./js/app.js', './build/app.js', lib);\r\n});\r\n\r\n```\r\n\r\nTo build\r\n\r\n```\r\ngulp build\r\n```\r\n\r\nTo build for production\r\n\r\n```\r\ngulp build --production\r\n```\r\n\r\n\r\n### Hint\r\n\r\nTo make it the default task, just name the gulp task default.\r\n\r\n```javascript\r\ngulp.task('default', function () {\r\n  bundle('./js/alpha.js', './build/alpha.js');\r\n})\r\n```\r\n\r\n## bundle(src, dest, externals)\r\n\r\n`src` is the source file. Can be a String or an Array of Strings.\r\n\r\n`dest` is the destination file. Must be a String.\r\n\r\n`externals` (optional) are the externals or modules and libraries to exclude. These arguments can either be a String, a bundle object as returned from the method call to `bundle` or an Array (which contains String or bundle objects).\r\n\r\n## bundle.lib(src, dest, externals)\r\n\r\nApart from externalizing the src files, `bundle.lib` works the same as bundle.\r\n\r\n\r\n## Known Issues\r\n\r\n* You must explicitly specify the modules in `bundle.lib`. You cannot assume that just because your source bundle requires another bundle, that the second bundle will automatically be exposed.\r\n\r\n* The first time the bundle is created, the externals are not removed. This is a weird bug which I'll address later. In the meantime, the fact that additional rebundles in a watchify will happen MUCH faster is worth it.\r\n","maintainers":[{"name":"thesunny","email":"thesunny@gmail.com"}],"time":{"modified":"2022-06-18T17:46:35.523Z","created":"2014-11-10T21:19:18.581Z","0.1.6":"2014-11-10T21:19:19.374Z","0.1.7":"2014-11-10T21:31:50.835Z","0.1.8":"2014-11-10T23:39:39.289Z","0.1.9":"2014-11-21T23:12:10.642Z","0.1.10":"2014-11-21T23:47:43.484Z","0.1.11":"2014-11-22T00:57:24.852Z"},"readmeFilename":"README.md","license":"BSD-2-Clause"}