{"_id":"bedrock-requirejs","_rev":"26-50f0dff70a31863c6dfbb7401f9f66fc","name":"bedrock-requirejs","description":"Bedrock RequireJS module","dist-tags":{"latest":"2.2.0"},"versions":{"0.0.1":{"name":"bedrock-requirejs","version":"0.0.1","description":"Bedrock RequireJS module","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","gitHead":"c253fbd93cf20fd04968b5b539dd01f90387866b","_id":"bedrock-requirejs@0.0.1","_shasum":"083e564820228487ffecfdef5b7d9140d9406193","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"}],"dist":{"shasum":"083e564820228487ffecfdef5b7d9140d9406193","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-0.0.1.tgz","integrity":"sha512-8+AtuSBrPcud5P8SP2i38bun0zbUi90XhxSKhBK9LJ5McdP2JPr9clEVfJPlwfN/I0v72xgRgDDmCqyHh4Hu6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSvdmMBPNaKu37+R4TMDV8RwqLLfWkWmjmoE8F5a05bAiA49CH1KGg8XJjdGfEt8lDEQjbEELIHSwSdFJQjdYNFXA=="}]}},"0.1.0":{"name":"bedrock-requirejs","version":"0.1.0","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"~0.9.0","bower":"~1.3.12","bower-requirejs":"~1.1.2","requirejs":"~2.1.15","temp":"~0.8.1","uglify-js":"~2.4.16"},"peerDependencies":{"bedrock":"~0.3.0"},"directories":{"lib":"./lib"},"gitHead":"f75d820924e2cbcf5cb20952297cf21576b6341d","_id":"bedrock-requirejs@0.1.0","_shasum":"225567170435d6350d0aa68a46dc5662cd650a71","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"}],"dist":{"shasum":"225567170435d6350d0aa68a46dc5662cd650a71","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-0.1.0.tgz","integrity":"sha512-NITOgvd2AnPoC+6GTbnal5i9Q7Uyp+NtvRDJ1Lcjxk0Oj2rq5qnJvI2XObNPUfBHir7RUOV9mOagcVbOP7ZzwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/x0uH8SjFcI6HDxv62n1sgkvhROh5UNsk8e6I3htcdAiEA46nYTvizN2dFv+cJNCbE9EPw1EAD/+mgca1jcScuI2w="}]}},"0.1.1":{"name":"bedrock-requirejs","version":"0.1.1","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","postinstall":"node ./node_modules/.bin/bower install","postupdate":"node ./node_modules/.bin/bower update","bower-install":"node ./node_modules/.bin/bower install","bower-update":"node ./node_modules/.bin/bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"~0.9.0","bower":"~1.3.12","bower-requirejs":"~1.1.2","requirejs":"~2.1.15","temp":"~0.8.1","uglify-js":"~2.4.16"},"peerDependencies":{"bedrock":"~0.3.0"},"directories":{"lib":"./lib"},"gitHead":"791e74565ef6d996679d9eb2baccc79a1e30832b","_id":"bedrock-requirejs@0.1.1","_shasum":"be8120420c41741b5fd4b8f16aeb9ca7ddd8535d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"}],"dist":{"shasum":"be8120420c41741b5fd4b8f16aeb9ca7ddd8535d","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-0.1.1.tgz","integrity":"sha512-qdT5qbrkF0eK3yy08M7fJTN+zykEt9CBS5fvsxF4aek8JeghINvOPkXii9pvrwWxLyOXt6tR2VhuA3RUfXn6Lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3qYAkyBYQP3AP3lA1o8ivCeQvLPjiPbEXttdFSADa5AiEA02K253E3S4/ykql2k0GJrR5c1RjXg4+l8hnW2v//N+o="}]}},"0.1.2":{"name":"bedrock-requirejs","version":"0.1.2","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"~0.9.0","bower":"~1.3.12","bower-requirejs":"~1.1.2","requirejs":"~2.1.15","temp":"~0.8.1","uglify-js":"~2.4.16"},"peerDependencies":{"bedrock":"~0.3.0"},"directories":{"lib":"./lib"},"gitHead":"678a8cedc273b45fc84d95ffcba33a468ffd108d","_id":"bedrock-requirejs@0.1.2","_shasum":"556f0d2120a9d51a5033adbd1d5394dce075c934","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"}],"dist":{"shasum":"556f0d2120a9d51a5033adbd1d5394dce075c934","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-0.1.2.tgz","integrity":"sha512-XPoXONdLzCPzRRDWBHhfe6ShmHh9UqKWRSXqOKWUER6Mb9m5PLvvcfWObjGOhH+uIXeFiNLdSS6SpJOlRe6c/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFuCUdNrV32xcIt82qEHjnI8ZyBWMfnoNx27bK1wMgzAiEAzXaoyCUPSIwvUxDyz0zGnnWF9UU2VqyUqInzcV6Pq1E="}]}},"0.1.3":{"name":"bedrock-requirejs","version":"0.1.3","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"~0.9.0","bower":"~1.3.12","bower-requirejs":"~1.1.2","requirejs":"~2.1.15","temp":"~0.8.1","uglify-js":"~2.4.16","underscore":"~1.7.0"},"peerDependencies":{"bedrock":"~0.3.0"},"directories":{"lib":"./lib"},"gitHead":"e383c3b3f6a1faf97282e3564d4df7d5ea4692a5","_id":"bedrock-requirejs@0.1.3","_shasum":"93f4835ffdd91c5b46b97b0106ce4791fab27262","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"}],"dist":{"shasum":"93f4835ffdd91c5b46b97b0106ce4791fab27262","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-0.1.3.tgz","integrity":"sha512-RjaJOssuFhb0Rn9jaNiNLnPckaqtKTOy/iKJi9nJWopRCCCyUIrJZxDCSm8KLwl6ceyMPnEItTByFo8/WirsUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLHcvxxf97yRBQTr1YDPkRsWDLnzJ2lmiixERRLjJyKAIgOZvLkjI4UYeI2tyv0e4ILjFNhfIP+cE8shK073uK/+o="}]}},"1.0.0":{"name":"bedrock-requirejs","version":"1.0.0","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"~0.9.0","bower":"~1.4.1","bower-requirejs":"~1.1.3","requirejs":"~2.1.15","temp":"~0.8.1","uglify-js":"~2.4.19","underscore":"~1.7.0"},"peerDependencies":{"bedrock":"^1.0.0"},"directories":{"lib":"./lib"},"gitHead":"32d9ca3da6a55f1adf3d4c1b664d6554dcce5495","_id":"bedrock-requirejs@1.0.0","_shasum":"13c12c4cc265a0a8085e65c6ae584d64cab7c3f2","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"}],"dist":{"shasum":"13c12c4cc265a0a8085e65c6ae584d64cab7c3f2","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-1.0.0.tgz","integrity":"sha512-VMyVU3UOVcFe6sasdBuj30LxJpJslbvA9Mip2dtBcOXWtxRiOf+nd6+EOBz4Uhew21W+gm7oBQESPCNNfPtigg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIbsAlc/KUx3hx4+XtTYOCCQQXRpqSdroVehgQKxGXnAiBZI6oa/WRjuQJ0WOp+xioW6LWu3BwXuSSTN1Z+uiknxQ=="}]}},"1.0.1":{"name":"bedrock-requirejs","version":"1.0.1","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.4.2","bower":"^1.5.2","bower-requirejs":"~1.1.3","requirejs":"~2.1.15","temp":"~0.8.1","uglify-js":"~2.4.19","underscore":"~1.7.0"},"peerDependencies":{"bedrock":"^1.0.0"},"directories":{"lib":"./lib"},"gitHead":"9019902e3f385280740b65baaba014f8d1c294db","_id":"bedrock-requirejs@1.0.1","_shasum":"03d3f1eedfbde49b24fac6dac12d1ee162adfee7","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"}],"dist":{"shasum":"03d3f1eedfbde49b24fac6dac12d1ee162adfee7","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-1.0.1.tgz","integrity":"sha512-5b+CC65Z8Ms7a+9MGvTfNOA8spNx5cvhueWjPGlLfPUm8+z7GEOWBQSbyhuex0u2UPMLJSKGVMQ11SWPly6yTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0JcBjgte1qL1HGQX1WvVAi4AMPX9fY1BKhmBEuj9RnAIhAO0RlZb4PZw/R6W3U3s2kPlmoCFP2x4G80PFESzWbS/0"}]}},"1.1.0":{"name":"bedrock-requirejs","version":"1.1.0","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.4.2","bower":"^1.5.2","bower-requirejs":"~1.1.3","requirejs":"~2.1.15","temp":"~0.8.1","uglify-js":"~2.4.19","underscore":"~1.7.0"},"peerDependencies":{"bedrock":"^1.0.0"},"directories":{"lib":"./lib"},"gitHead":"fe4a63d64b0bb186903739db28b1ee8f53ff94ab","_id":"bedrock-requirejs@1.1.0","_shasum":"b441de6b964ece90326e5c178764f2e7f564b919","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"}],"dist":{"shasum":"b441de6b964ece90326e5c178764f2e7f564b919","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-1.1.0.tgz","integrity":"sha512-NbDwSISlMEnoXFsU6K+gU47lqx+4TaCIFsoK9eLKoMzUf4H1CeUcOQ+GOGE0Z7cnQOs8gtVAyQmauGer4OUlBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTrOYqhiiCpHqA8aPj17gyjx3DSB10vPkytJpeCX2q7AiBVicwyoKzMK8qtbtYyFx+Gr0DjorKMzsknmv8fEtdJbg=="}]}},"1.1.1":{"name":"bedrock-requirejs","version":"1.1.1","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.5.2","bower":"^1.7.2","bower-requirejs":"^1.2.0","lodash":"^4.0.0","requirejs":"^2.1.15","temp":"~0.8.3","uglify-js":"^2.6.1"},"peerDependencies":{"bedrock":"^1.0.0"},"directories":{"lib":"./lib"},"gitHead":"8d8ccfdad2c4d0a9914439b8737a815527b62db9","_id":"bedrock-requirejs@1.1.1","_shasum":"f49a71e13f1e88d59b4270f96c321e262fae74d2","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"maintainers":[{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"}],"dist":{"shasum":"f49a71e13f1e88d59b4270f96c321e262fae74d2","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-1.1.1.tgz","integrity":"sha512-tMHbmWs2cEESlrclh0zdnUouQGEGRLQ7BGeA6g4B6/oTdEwt3NBy1KYr2Bgyk6x/mBj7dSzqZrftuJmaKgd2Bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPNt7S7zBxshiZrz5IaNo3NShApqHK1J8WwQil1x/DqAiEAyOtrdLQ1sVlNf7ghf7FcoyL8JBmJeBgAhS66X1IDxOU="}]},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/bedrock-requirejs-1.1.1.tgz_1455655979524_0.09645288973115385"}},"2.0.0":{"name":"bedrock-requirejs","version":"2.0.0","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-requirejs.git"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.5.2","bedrock":"^1.0.0","bower":"^1.7.2","bower-requirejs":"^1.2.0","lodash":"^4.0.0","requirejs":"^2.1.15","temp":"~0.8.3","uglify-js":"^2.6.1"},"peerDependencies":{"bedrock":"^1.0.0"},"directories":{"lib":"./lib"},"gitHead":"24c187d01703f13e53177cbe817b05e0d20ed538","_id":"bedrock-requirejs@2.0.0","_shasum":"129b939358488e200458a1d17c952dab7d7c737b","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.6.1-pre","_npmUser":{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},"dist":{"shasum":"129b939358488e200458a1d17c952dab7d7c737b","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-2.0.0.tgz","integrity":"sha512-C4ehwhrYeOpst0flZvL7pcpDBKgAYR26W1/8xgUcmswKAP5AFJfFetFNomS5M2NA08srbhV7zHdG59ZuFAee/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoJF91ytIO7erG8q6VVBOLjgzDSQZsVbsaujMlA/vBhQIgWiFTMdOdNlArZYpoi2jZ1188zbq/f/CPMFOqf+AkHxw="}]},"maintainers":[{"name":"davidlehn","email":"dil@lehn.org"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bedrock-requirejs-2.0.0.tgz_1456956706101_0.4050317646469921"}},"2.0.1":{"name":"bedrock-requirejs","version":"2.0.1","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-requirejs.git"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.5.2","bower":"^1.7.2","bower-requirejs":"^1.2.0","lodash":"^4.0.0","requirejs":"^2.1.15","temp":"~0.8.3","uglify-js":"^2.6.1"},"peerDependencies":{"bedrock":"^1.0.0"},"directories":{"lib":"./lib"},"gitHead":"e8f61793da5dee04068f5c18223e424ce8c04a2c","_id":"bedrock-requirejs@2.0.1","_shasum":"b8c712b3a72c908ef3db1f5e9bcb2cdd5f9fe6f7","_from":".","_npmVersion":"3.8.2","_nodeVersion":"4.4.1","_npmUser":{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},"dist":{"shasum":"b8c712b3a72c908ef3db1f5e9bcb2cdd5f9fe6f7","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-2.0.1.tgz","integrity":"sha512-XA6QyHweXMxY55Ptr68fIyF/dBUSprtbonA3wYOeONjzsCNUIjk/Hwol8kv0fuVbmOzP1OnDCQgxkaMwd1SsCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLv7sH4XpjIcQfqwFfaHVQXQxv04CtY72AzhQ3xTUvgwIgRTyx4MLd8BF/2Y73rDoZjdo9oLKw33kxupGkd66GNF4="}]},"maintainers":[{"name":"davidlehn","email":"dil@lehn.org"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bedrock-requirejs-2.0.1.tgz_1460765341015_0.33730989205650985"}},"2.0.2":{"name":"bedrock-requirejs","version":"2.0.2","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"https://github.com/digitalbazaar/bedrock-requirejs"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.5.2","bower":"^1.7.2","bower-requirejs":"^1.2.0","lodash":"^4.0.0","requirejs":"^2.1.15","temp":"~0.8.3","uglify-js":"^2.6.1"},"peerDependencies":{"bedrock":"^1.0.0"},"directories":{"lib":"./lib"},"gitHead":"65fb287ebb9546f035ae659ce55f430d300516b1","_id":"bedrock-requirejs@2.0.2","_shasum":"effe1598970c016862eb180823032371b2b0c1db","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"maintainers":[{"name":"davidlehn","email":"dil@lehn.org"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"}],"dist":{"shasum":"effe1598970c016862eb180823032371b2b0c1db","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-2.0.2.tgz","integrity":"sha512-Wm8EAH6+kNeTpXt19t29RFJiPEKcbQHurO0CLWIXT+BL+H/t3KyjQrB47M82xk8spULpNmzk4d101rifm6KHaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDEyDXmKyRX/4ZDMKAeW8UidHbCZMvb+VX+ic6ieiCo6AiEAnlan8oRMrKisHNYsu26czmvw6JV91aJ3TffCAIiJNco="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bedrock-requirejs-2.0.2.tgz_1462993456581_0.1409213135484606"}},"2.0.3":{"name":"bedrock-requirejs","version":"2.0.3","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-requirejs.git"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.5.2","bower":"^1.7.2","bower-requirejs":"^1.2.0","lodash":"^4.0.0","requirejs":"^2.1.15","temp":"~0.8.3","uglify-js":"^2.6.1"},"peerDependencies":{"bedrock":"^1.0.0","bedrock-docs":"^2.0.1"},"directories":{"lib":"./lib"},"gitHead":"37eb93b28cf848a205c8207e7a88e14f28c97e00","_id":"bedrock-requirejs@2.0.3","_shasum":"eaf957d4e8736882a79f140fb787209af5d73cc6","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"msporny","email":"msporny@digitalbazaar.com"},"dist":{"shasum":"eaf957d4e8736882a79f140fb787209af5d73cc6","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-2.0.3.tgz","integrity":"sha512-tEd6lgv3yJJGAjcUOgcs8ukq36AV2994mo17YJz9p7IpYAQGOxHtBAEpAyBfnO0axDiBBmSWm/koPe3zXg+TMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSfpfOx8Ft9aaDKWPWwBSMr0zgi1Uvk9j3s87P9JlMhAiA7UJ/eXDe7kmyNvoFnrz44ASHRzq8M/7z1ZJU/jBkXmw=="}]},"maintainers":[{"name":"davidlehn","email":"dil@lehn.org"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bedrock-requirejs-2.0.3.tgz_1472412037622_0.34237716998904943"}},"2.1.0":{"name":"bedrock-requirejs","version":"2.1.0","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-requirejs.git"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.5.2","bower":"^1.7.2","bower-requirejs":"^1.2.0","lodash":"^4.0.0","requirejs":"^2.1.15","temp":"~0.8.3","uglify-js":"^2.6.1"},"peerDependencies":{"bedrock":"^1.0.0","bedrock-docs":"^2.0.1","bedrock-express":"^2.0.6"},"directories":{"lib":"./lib"},"gitHead":"abdfc9c3caf8ede7480675cbcb8c6e6b839d3ede","_id":"bedrock-requirejs@2.1.0","_shasum":"819a0b7bdad443dc7b4f5dfb4d95cf2f5f8daeee","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},"dist":{"shasum":"819a0b7bdad443dc7b4f5dfb4d95cf2f5f8daeee","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-2.1.0.tgz","integrity":"sha512-uRixuxz+d1IMCHVpIlJJDQGzQyFhmpE5szi12qeSu0ryKRxiHS88m3Uajhq1F4/gmeqyDpJdGmQKUkuVI47bGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCuvTBlgGAadh12uOauTPXADetonTf9Gdz9yTZOlUh2AiBksPwWEqPM54CPE/bmASXpQXVjN0USkiTGlYtmQNYDEw=="}]},"maintainers":[{"name":"davidlehn","email":"dil@lehn.org"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bedrock-requirejs-2.1.0.tgz_1475007827357_0.7099443899933249"}},"2.1.1":{"name":"bedrock-requirejs","version":"2.1.1","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-requirejs.git"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.5.2","bower":"^1.7.2","bower-requirejs":"^1.2.0","lodash":"^4.0.0","requirejs":"^2.1.15","temp":"~0.8.3","uglify-js":"^2.6.1"},"peerDependencies":{"bedrock":"^1.0.0","bedrock-docs":"^2.0.1","bedrock-express":"^2.0.6"},"directories":{"lib":"./lib"},"gitHead":"cac5edbcf5c42ce20afb41139b285a1e2b6984b0","_id":"bedrock-requirejs@2.1.1","_shasum":"c6337f3608625c3c1b29e3bfb439fa3471cf5d2a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},"dist":{"shasum":"c6337f3608625c3c1b29e3bfb439fa3471cf5d2a","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-2.1.1.tgz","integrity":"sha512-wOZ/EkevilV3SrCEBc2AjCojdLEQkAiqvil/l95EOczmzzhXf7BlxZwJi7B+FMf8MUaFUk3fxwTjLZ3cURdBiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXmyfQCge5d8R9mPV10nqi4hJMIc0IJAS9+qbe70WnXAiEAkNj2xIFfLKUYls6sXKebLYA7KsVHHpbwUdSP7AfKyxM="}]},"maintainers":[{"name":"davidlehn","email":"dil@lehn.org"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bedrock-requirejs-2.1.1.tgz_1476719321948_0.928384541766718"}},"2.2.0":{"name":"bedrock-requirejs","version":"2.2.0","description":"Bedrock RequireJS module","main":"./lib/requirejs","scripts":{"test":"node test.js","preinstall":"npm install bower","postinstall":"bower install","postupdate":"bower update","bower-install":"bower install","bower-update":"bower update"},"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-requirejs.git"},"keywords":["bedrock","requirejs"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","dependencies":{"async":"^1.5.2","bower":"^1.7.2","bower-requirejs":"^1.2.0","lodash":"^4.0.0","requirejs":"^2.1.15","temp":"~0.8.3","uglify-js":"^2.6.1"},"peerDependencies":{"bedrock":"^1.4.0","bedrock-docs":"^2.0.1","bedrock-express":"^2.0.6"},"directories":{"lib":"./lib"},"gitHead":"6ce85d6bf4e6e1ecadd524f7b3699e153fadd90a","_id":"bedrock-requirejs@2.2.0","_shasum":"f2467fb3d6a917b6b9c63772904c819fd4ad4d60","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.2","_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"maintainers":[{"name":"davidlehn","email":"dil@lehn.org"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"}],"dist":{"shasum":"f2467fb3d6a917b6b9c63772904c819fd4ad4d60","tarball":"https://registry.npmjs.org/bedrock-requirejs/-/bedrock-requirejs-2.2.0.tgz","integrity":"sha512-I+FuEwliZ5mBd1Eu174uHrpIkQ33CHydVRKpHBtCGqCqI1x9deQH1KBu3iiivfOgKyIr3d/AnFz7MloRdRGE8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDELYQTtvOTpZbr7JroYdHZxCWIXyk9WIdrzXm/ghGoFAIgIImKJDZHaRW5r5KH5T/M0VPoOd6j9ZHGqDcedTjdxHM="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bedrock-requirejs-2.2.0.tgz_1481309910973_0.7427476614248008"}}},"readme":"# bedrock-requirejs\n\nA [bedrock][] module that provides a client-side module loader and\nautoconfiguration capabilities for bower components.\n\n**bedrock-requirejs** autogenerates a [RequireJS][]-configuration and autoloads\nclient-side modules based on your project's [bedrock][] configuration and\nany [bower][] components you have installed. It also provides an API for\noptimizing (bundling and minifying) your client-side JavaScript.\n\n**bedrock-requirejs** is often coupled with [bedrock-views][] and\n[bedrock-angular][] to provide frontend UIs.\n\n## Requirements\n\n- npm v3+\n\n## Quick Examples\n\n```\nnpm install bedrock-requirejs\n```\n\nStart a simple express server with **bedrock-requirejs** support:\n\n```js\nvar bedrock = require('bedrock');\n\nrequire('bedrock-express');\nrequire('bedrock-requirejs');\nrequire('bedrock-server');\n\nbedrock.start();\n```\n\nStart an express server with **bedrock-requirejs** support and an [AngularJS][]\nfrontend:\n\n```\nbower install bedrock-angular\n```\n\n```js\nvar bedrock = require('bedrock');\n\nrequire('bedrock-express');\nrequire('bedrock-requirejs');\nrequire('bedrock-server');\nrequire('bedrock-views');\n\nbedrock.start();\n```\n\n<!-- TODO: example of installing a non-bedrock bower component and using\nit with bedrock-requirejs -->\n\n<!-- TODO: example of installing a bower component that needs some extra\nconfiguration and using it with bedrock-requirejs -->\n\n<!-- TODO: example of configuring a module that isn't installed via bower\nand using it with bedrock-requirejs, one example using the package config\nand one using the shim config\n\n// this example:\nconfig.requirejs.bower.packages.push({\n  path: path.join(__dirname, 'example'),\n  manifest: {\n    name: 'example',\n    moduleType: 'amd',\n    main: './example.js',\n  }\n});\n// will do this, in effect:\nconfig.requirejs.config.packages.push({\n  name: 'example',\n  main: './example.js',\n  location: '/bower-components/example'\n});\nconfig.requirejs.optimize.config.packages.push({\n  name: 'example',\n  main: './example.js',\n  location: path.join(__dirname, 'example')\n});\nconfig.express.static.push({\n  route: '/bower-components/example',\n  path: path.join(__dirname, 'example')\n});\nconfig.requirejs.autoload.push('example');\n\n// this example:\nconfig.requirejs.bower.packages.push({\n  path: path.join(__dirname, 'example'),\n  manifest: {\n    name: 'example',\n    moduleType: 'globals',\n    main: './example.js',\n    // note: if using bedrock-views and you want angular template\n    // optimization, you must include angular as a dependency if you\n    // want auto-template detection and minification\n    dependencies: {\n      jquery: '~2.0.0'\n    }\n  }\n});\n// will do this, in effect:\nconfig.express.static.push({\n  route: '/bower-components/example',\n  path: path.join(__dirname, 'example')\n});\nconfig.requirejs.autoload.push('example');\nconfig.requirejs.config.paths.example = '/bower-components/example';\nconfig.requirejs.config.shim.example = {exports: 'example', deps: ['jquery']};\nconfig.requirejs.optimize.config.paths.example =\n  path.join(__dirname, 'example');\n-->\n\n<!-- TODO: example of doing some early initialization code via the events\nmodule -->\n\n<!-- TODO: API examples\n\nbrRequire.buildConfigSync\nbrRequire.wrapConfigSync\nbrRequire.wrapConfig\nbrRequire.readBowerPackagesSync\nbrRequire.optimize -->\n\n## Configuration\n\n**bedrock-requirejs** uses [bedrock][]'s configuration to expose its own\noptions and to expose a base [RequireJS][] configuration for your application.\nThe base [RequireJS][] configuration can be found at\n`bedrock.config.requirejs.config`. There is also a base [RequireJS][]\noptimization configuration, which is used when using the `optimize` API; it\nis found at `bedrock.config.requirejs.optimize.config`. These configurations\nare used as a base on which any auto-generated configuration will be layered.\nAny custom configuration information will not be overridden.\n\nAll other configuration variables are specific to **bedrock-requirejs** and\nmore documentation about their usage can be found in\n[config.js](./lib/config.js).\n\n## How It Works\n\n**bedrock-requirejs** combines [RequireJS][] and [bower][] to ease developing,\nmanaging, and loading client-side JavaScript. It is configuration driven but\ndesigned such that most configuration options can be automatically computed.\n\nWith **bedrock-requirejs**, you should be able to `bower install` a bower\ncomponent, restart your **bedrock** server, and then when you next visit\nyour website, the bower component will be served when requested.\n\nTo make this possible, **bedrock-requirejs** will scan your project's\nbower components directory when [bedrock][] starts. The value of\n`bedrock.config.requirejs.bower.bowerrc.directory` will be used to determine\nthe bower components directory; it defaults to `bower_components`. Using the\nresults of the scan and any manually configured options, **bedrock-requirejs**\ngenerates a [RequireJS][] project configuration that it serves via\n[bedrock-express][] using the route `/requirejs/main.js`. **bedrock-requirejs**\nalso serves your bower components directory via the URL specified in\n`bedrock.config.requirejs.bower.componentsUrl`, which defaults to\n`/bower-components`.\n\nManually configured options can be specified via\n`bedrock.config.requirejs.config`, which is a basic [RequireJS][] configuration\nobject. There are also special `prefix` and `suffix` JavaScript files that are\nused when generating `main.js`, that can be replaced, if necessary, via\n`bedrock.config.requirejs.configPrefix` and\n`bedrock.config.requirejs.configSuffix`. It's unlikely that these files need\nto be replaced; if you find yourself thinking about replacing them, make sure\nthere isn't another feature that could be used instead to accomplish what\nyou're trying to do.\n\nTo load the auto-detected and configured modules, an HTML page includes\n[RequireJS][] and sets its main module to `/requirejs/main.js`. If\n[RequireJS][] is installed via [bower][], the HTML could look like this:\n\n```html\n<script data-main=\"/requirejs/main.js\"\n  src=\"/bower-components/requirejs/require.js\"></script>\n```\n\n**bedrock-requirejs** also includes an API for running [RequireJS][]'s\noptimizer. This feature can be used to concatenate (in dependency-sorted order)\nand minify all JavaScript associated with a project. This means that all of\nthe JavaScript that can be auto-detected or custom-configured can be merged\ninto a single. minified file for use in production systems. The [RequireJS][]\nconfiguration that is fed into the optimizer is generated using any custom\nrules from `bedrock.config.requirejs.optimize.config`, which represents a\n[RequireJS][] optimization configuration object, combined with the\nresults of auto-scanning the bower components directory. A special, simplified\n[RequireJS][] module loader, [almond][] is also injected into the optimized\nJavaScript. By including [almond][], there is no need to include `require.js`,\nas the single JavaScript file will autoload itself. The resulting JavaScript\nfile will be written to `bedrock.config.requirejs.optimize.config.out`.\n**bedrock-requirejs** will also serve this file, via `/requirejs/main.min.js`.\nTo run the optimizer:\n\n```js\nvar brRequire = require('bedrock-requirejs');\n\nbrRequire.optimize(function(err) {\n  if(err) {\n    console.error('JavaScript optimization failed.', err);\n  } else {\n    console.log('JavaScript optimization complete.');\n  }\n});\n```\n\nTo run the optimizer with a special tool that runs for each JavaScript file,\neg: [ng-annotate][], you can do the following:\n\n```js\nvar brRequire = require('bedrock-requirejs');\n\nbrRequire.optimize({\n  onBuildRead: function(moduleName, path, contents) {\n    var ngAnnotate = require('ng-annotate');\n    var result = ngAnnotate(contents, {add: true});\n    if(result.errors) {\n      console.error('ng-annotate failed for ' +\n        'moduleName=\"' + moduleName + '\", path=\"' + path + '\", ' +\n        'errors=', result.errors);\n      process.exit(1);\n    }\n    return result.src;\n  }, function(err) {\n    if(err) {\n      console.error('JavaScript optimization failed.', err);\n    } else {\n      console.log('JavaScript optimization complete.');\n    }\n  });\n```\n\nTo include the optimized JavaScript via an HTML script tag:\n\n```html\n<script src=\"/requirejs/main.min.js\"></script>\n```\n\nNote: If you're using [bedrock-views][], it exposes a subcommand `optimize`\nthat can run this API for your project for you, and it provides the HTML\npages that will serve either `/requirejs/main.js` or `/requirejs/main.min.js`\nbased on your [bedrock-views][] configuration options.\n\n**bedrock-requirejs** also serves a simple event emitter API at\n`/requirejs/events.js` that `main.js` uses to emit events listeners can use to\nexecute behavior before or after certain client-side modules are loaded.\nThere are two phases during which `main.js` will load modules: **early**\nand **autoload**. The modules that are loaded during the **early** phase\ninclude all of those listed in `bedrock.config.requirejs.config.deps`. The\nmodules that are loaded during the **autoload** phase include those listed\nin `bedrock.config.requirejs.autoload`. The following events are emitted:\n\n- **bedrock-requirejs.init**\n  - Emitted before the **autoload** modules are loaded. This event allows\n    any **early** loaded modules to run initialization code after all **early**\n    loaded modules have been required but before any of the **autoload**\n    modules are required. In order to receive this event, a module must be\n    added to the `bedrock.config.requirejs.config.deps` array so it will be\n    loaded during the **early** phase. The first parameter passed to any\n    listener function will be an object where the keys are the values from\n    `bedrock.config.requirejs.config.deps` and where the values are\n    their associated module APIs.\n- **bedrock-requirejs.ready**\n  - Emitted after the **autoload** modules have all been required. Listeners\n    can use this event to perform initialization/start up code that must be\n    deferred until all **autoload** modules have been loaded. For example,\n    a module that allows other modules to register with it before running\n    initialization code may find listening for this event to be useful. An\n    example of a module that uses this event is [bedrock-angular][], which\n    waits for **autoload** modules to register themselves with angular prior to\n    bootstrapping the main AngularJS application.\n\n\n[almond]: https://github.com/jrburke/almond\n[bedrock]: https://github.com/digitalbazaar/bedrock\n[bedrock-angular]: https://github.com/digitalbazaar/bedrock-angular\n[bedrock-express]: https://github.com/digitalbazaar/bedrock-express\n[bedrock-views]: https://github.com/digitalbazaar/bedrock-views\n[bower]: http://bower.io/\n[ng-annotate]: https://github.com/olov/ng-annotate\n[AngularJS]: https://github.com/angular/angular.js\n[RequireJS]: http://requirejs.org/\n","maintainers":[{"name":"davidlehn","email":"dil@lehn.org"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"msporny","email":"msporny@digitalbazaar.com"}],"time":{"modified":"2022-06-13T04:28:43.102Z","created":"2015-01-01T07:14:11.257Z","0.0.1":"2015-01-01T07:14:11.257Z","0.1.0":"2015-02-16T21:01:21.125Z","0.1.1":"2015-02-16T22:33:45.377Z","0.1.2":"2015-02-16T22:41:28.583Z","0.1.3":"2015-02-23T17:35:31.645Z","1.0.0":"2015-04-08T20:40:26.964Z","1.0.1":"2015-09-28T18:35:23.832Z","1.1.0":"2015-11-26T02:18:27.758Z","1.1.1":"2016-02-16T20:53:01.857Z","2.0.0":"2016-03-02T22:11:48.989Z","2.0.1":"2016-04-16T00:09:02.036Z","2.0.2":"2016-05-11T19:04:18.121Z","2.0.3":"2016-08-28T19:20:38.806Z","2.1.0":"2016-09-27T20:23:48.028Z","2.1.1":"2016-10-17T15:48:43.623Z","2.2.0":"2016-12-09T18:58:33.136Z"},"homepage":"https://github.com/digitalbazaar/bedrock-requirejs","keywords":["bedrock","requirejs"],"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-requirejs.git"},"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"http://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-requirejs/issues"},"readmeFilename":"README.md"}