{"_id":"requirepack","_rev":"80-5046e7af5203e46f419fa4729711295e","name":"requirepack","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"requirepack","version":"0.0.1","author":{"name":"Ryan Roemer","email":"ryan.roemer@formidablelabs.com"},"license":"MIT","_id":"requirepack@0.0.1","maintainers":[{"name":"ryan.roemer","email":"ryan@loose-bits.com"}],"homepage":"https://github.com/FormidableLabs/requirepack#readme","bugs":{"url":"https://github.com/FormidableLabs/requirepack/issues"},"bin":{"requirepack":"./bin/requirepack.js"},"dist":{"shasum":"1230fd14c3e5a0aad2b4a56f3bbc03ca46040b34","tarball":"https://registry.npmjs.org/requirepack/-/requirepack-0.0.1.tgz","integrity":"sha512-kVlGnvQrXCOrp+2AFhHu4EDdvAY3rgudHdAvLZ7M4PK+RQ5J1srfBC5XG5LeZURA4+AdEPAcX39jPe5ppIBDYg==","signatures":[{"sig":"MEUCIBvXelGG79nCtv+x+WVFXgMF5rYxiZPPSIPoCdl/4cr8AiEAhqiCsAuiaG70Ehwt1n0j+hTfo7725wYvV2pohF3uLe0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1230fd14c3e5a0aad2b4a56f3bbc03ca46040b34","gitHead":"1d3f5d2fc0aedd4d47c477a3a035b6f23b29f0f3","scripts":{"lint":"npm run lint-client && npm run lint-server && npm run lint-server-test","test":"npm run test-server && npm run test-func-build && npm run test-func","check":"npm run lint && npm run test","server":"http-server -p 3001 .","test-ci":"npm run test-server-cov && npm run test-func-build && npm run test-func-cov","check-ci":"npm run lint && npm run test-ci","test-func":"mocha --opts test/func/mocha.opts test/func/spec test/func/*/spec","install-dev":"selenium-standalone install","lint-client":"eslint -c .eslintrc-client test/func/*/src","lint-server":"eslint -c .eslintrc-server lib bin *.js test/func/*/*.config*.js test/func/*/build.js test/util","test-server":"mocha --opts test/server/mocha.opts test/server/spec","test-func-cov":"istanbul cover --config .istanbul.func.yml _mocha -- --opts test/func/mocha.opts test/func/spec test/func/*/spec","test-func-build":"node test/func/*/build.js","test-server-cov":"istanbul cover --config .istanbul.server.yml _mocha -- --opts test/server/mocha.opts test/server/spec","lint-server-test":"eslint -c .eslintrc-server-test test/func/spec test/func/*/spec"},"_npmUser":{"name":"ryan.roemer","email":"ryan@loose-bits.com"},"repository":{"url":"git+https://github.com/FormidableLabs/requirepack.git","type":"git"},"_npmVersion":"2.13.3","description":"Webpack + RequireJS interoperable shared libraries","directories":{},"_nodeVersion":"0.10.40","dependencies":{"async":"^1.4.2","lodash":"^3.10.1","fs-extra":"^0.24.0","amdetective":"0.0.2"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3","rowdy":"^0.3.2","sinon":"^1.17.1","almond":"^0.3.1","eslint":"^1.5.1","webpack":"^1.12.2","istanbul":"^0.3.21","coveralls":"^2.11.4","guacamole":"^1.1.4","phantomjs":"^1.9.18","requirejs":"^2.1.20","saucelabs":"^1.0.1","sinon-chai":"^2.8.0","http-server":"^0.8.5","webdriverio":"^3.2.4","selenium-standalone":"^4.6.3","eslint-config-defaults":"^6.0.0","eslint-plugin-filenames":"^0.1.2"}}},"time":{"created":"2015-10-03T07:23:15.126Z","modified":"2026-07-20T21:09:35.112Z","0.0.1":"2015-10-03T07:23:15.126Z"},"bugs":{"url":"https://github.com/FormidableLabs/requirepack/issues"},"author":{"name":"Ryan Roemer","email":"ryan.roemer@formidablelabs.com"},"license":"MIT","homepage":"https://github.com/FormidableLabs/requirepack#readme","repository":{"url":"git+https://github.com/FormidableLabs/requirepack.git","type":"git"},"description":"Webpack + RequireJS interoperable shared libraries","maintainers":[{"email":"sarahmichelleegan@gmail.com","name":"sarmeyer"},{"email":"mariano.martinez@formidable.com","name":"mariano-formidable"},{"email":"ryan@loose-bits.com","name":"ryan.roemer"},{"email":"admin@formidablelabs.com","name":"formidable-owner"},{"email":"npm@formidablelabs.com","name":"formidablelabs"},{"email":"sarah.wright@formidable.com","name":"sarahformidable"},{"email":"senesealessandro@gmail.com","name":"ceceppa"}],"readme":"[![Travis Status][trav_img]][trav_site]\n\nRequirePack\n===========\n\n[Webpack][webpack] + [RequireJS][requirejs] shared library interoperability!\n\nWebpack and RequireJS both can consume AMD code straight up. Which means if you\nare in a transitional / complex scenario where you want _some_ code to load\nwith Webpack and _other_ code to load with RequireJS from the same code base\nyou can!\n\nAnd, Webpack and RequireJS both have facilities for sharing libraries across\nentry points. Unfortunately, if loading both RequireJS and Webpack entry points\non the same page, the applications cannot natively use the **same** shared\nlibrary.\n\nRequirePack bridges this gap by providing an interopability layer to allow a\nWebpack-generated shared library to be consumaed by RequireJS entry points.\n\n### Getting Started\n\nInstall:\n\n```sh\n$ npm install --save requirepack\n```\n\nConfigure:\n\n**`TODO(8): Document Configuration`**\n\n### Development\n\nPorts various servers run on:\n\n* [`3001`](http://127.0.0.1:3001/): Static / demo server.\n* [`3030`](http://127.0.0.1:3030/): Ephemeral server for functional tests.\n  Override via `TEST_FUNC_PORT` environment variable.\n\n### Topics\n\n* **[Shared Libraries](docs/shared-libraries.md)**: A deep dive into how shared\n  libraries work in RequireJS, Webpack and are bridged with RequirePack.\n* **[Tests](docs/test.md)**: Our test suite encompasses a lot of different types\n  of builds that are likely to be encountered, running demos, and\n\n\n[webpack]: http://webpack.github.io/\n[wp-dll]: https://github.com/webpack/webpack/tree/master/examples/dll\n[wp-dll-user]: https://github.com/webpack/webpack/tree/master/examples/dll-user\n[requirejs]: http://requirejs.org/\n[rjs-exclude]: https://github.com/jrburke/r.js/blob/master/build/example.build.js#L388-L398\n[trav_img]: https://api.travis-ci.org/FormidableLabs/requirepack.svg\n[trav_site]: https://travis-ci.org/FormidableLabs/requirepack\n","readmeFilename":"README.md"}