{"_id":"apps-b-builder","_rev":"29-1a85806584df7baaae75a3e68f01cf97","name":"apps-b-builder","description":"A component.io based builder for making modular JS packages","dist-tags":{"latest":"0.4.3"},"versions":{"0.0.1":{"name":"apps-b-builder","version":"0.0.1","description":"A component.io based builder for making JS packages","dependencies":{"connect":"~2.8.4","coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","blueimp-md5":"~1.0.1","node-logging":"~0.1.6","fs-extra":"~0.6.3","component":"~0.17.0","component-builder":"~0.9.0","uglify-js":"~2.2.5","clean-css":"~0.4.2","eco":"~1.1.0-rc-3","stylus":"~0.34.1"},"bin":{"apps-b-builder":"bin/apps-b-builder"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA component.io based builder for making JS packages.\n\n##Quick Start\n\n```bash\n$ npm install apps-b-builder\n```\n\nThen specify the input and output path to build:\n\n```bash\n$ apps-b-builder ./src/ ./build/\n```","readmeFilename":"README.md","_id":"apps-b-builder@0.0.1","dist":{"shasum":"cda37ce29e12ae4c85f75e49292afd8ace4189c6","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.0.1.tgz","integrity":"sha512-Abd1jCOqwqrsmNYvOT82d0RsK/nPQMNoQN5XwCdocrflpSl2Gbk4Yrw7QQ4pfadObm2UaqxV7Tqinsx6t3ND5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBOiebPstA/Ouad/QEN4AQEh8rJz/OuMq+ibwYOY+kPmAiEAi2kX56W7dsbgabQ9HBGAANmbaeIu4vSIMcE8Ddo810w="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}],"directories":{}},"0.0.2":{"name":"apps-b-builder","version":"0.0.2","description":"A component.io based builder for making JS packages","dependencies":{"connect":"~2.8.4","coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","fs-extra":"~0.6.3","component":"~0.17.0","component-builder":"~0.9.0","uglify-js":"~2.2.5","clean-css":"~0.4.2","eco":"~1.1.0-rc-3","stylus":"~0.34.1"},"bin":{"apps-b-builder":"bin/apps-b-builder"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making JS packages.\n\n##Quick Start\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build:\n\n```bash\n$ apps-b-builder ./src/ ./build/\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.0.2","dist":{"shasum":"ae6ba40a270751ea9826f8eb186753e7da62e144","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.0.2.tgz","integrity":"sha512-CVVbLyvCm6ydC4IwLKETcf47p35NCPkNo5aX6bOlLzHDas1pYc+WLgrq/0eMTASojpRBriyOMiiZEtnw8iABoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxHmQ3OxCEu6HLOnfJ8WY0lZTetXmZGvqd6L3FpwJgqAiBIqTCL1pp7IUehWhihXHbTYDftYOR6MDcc/gER5vJv6w=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}],"directories":{}},"0.1.0":{"name":"apps-b-builder","version":"0.1.0","description":"A component.io based builder for making JS packages","dependencies":{"coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","fs-extra":"~0.6.3","component":"~0.17.0","component-builder":"~0.9.0","uglify-js":"~2.2.5","clean-css":"~0.4.2","eco":"~1.1.0-rc-3","stylus":"~0.34.1","buffet":"~0.6.0"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making JS packages.\n\n##Quick Start\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build:\n\n```bash\n# relative to current working directory\n$ apps-b build ./src/ ./build/\n```\n\nIf you wish to serve a particular directory (an example):\n\n```bash\n# relative to current working directory\n$ apps-b serve ./example\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.1.0","dist":{"shasum":"32267cefb319045ba646cb535add6034d460d6e5","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.1.0.tgz","integrity":"sha512-whBBims3Bel6GHzwLuWfo5tZwtEGWUAsMxHRDOvl6VEGRnbaFf0kINdywcsBnnqVT19rcO1L3DNS5wDbP3QH/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgV6X8eHVMoF1cA2Zim347VoyQPBRqgPKYESp2B+rrywIhAN+8luqFI0rhVzAwJ4b9/p9uvwEU++/m34cEutZ73PIy"}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}],"directories":{}},"0.1.1":{"name":"apps-b-builder","version":"0.1.1","description":"A component.io based builder for making JS packages","dependencies":{"coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","fs-extra":"~0.6.3","component":"~0.17.0","component-builder":"~0.9.0","uglify-js":"~2.2.5","clean-css":"~0.4.2","eco":"~1.1.0-rc-3","stylus":"~0.34.1","buffet":"~0.6.0"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making JS packages.\n\n##Quick Start\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build:\n\n```bash\n# relative to current working directory\n$ apps-b build ./src/ ./build/\n```\n\nIf you wish to serve a particular directory (an example):\n\n```bash\n# relative to current working directory\n$ apps-b serve ./example\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.1.1","dist":{"shasum":"a6d6a29a88f7a08ba6bce0cdbb3fd75d784f5121","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.1.1.tgz","integrity":"sha512-Qc/bQirmYK+qymGWh7py1QEgU+bl8ObrgHizai+mSLuzFbvhz908GS6NqLU0+Rkk1gUgRCjhkOROAfoBm0Cc9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFADUvLQ4qHfwuiuguw53pK3XSSx4AtVvzdZvDQWxgHTAiEAoyjwAW0qWcwMl2k9IaiKAyZACb6cp6fjs6YbVPN/PIs="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}],"directories":{}},"0.1.2":{"name":"apps-b-builder","version":"0.1.2","description":"A component.io based builder for making JS packages","dependencies":{"coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","fs-extra":"~0.6.3","component":"~0.17.0","component-builder":"~0.9.0","uglify-js":"~2.2.5","clean-css":"~0.4.2","eco":"~1.1.0-rc-3","stylus":"~0.34.1","nib":"~1.0.1","buffet":"~0.6.0"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making JS packages.\n\n##Quick Start\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build:\n\n```bash\n# relative to current working directory\n$ apps-b build ./src/ ./build/\n```\n\nIf you wish to serve a particular directory (an example):\n\n```bash\n# relative to current working directory\n$ apps-b serve ./example\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.1.2","dist":{"shasum":"181896ccf34496b39a489935964d0da79d8dbb5e","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.1.2.tgz","integrity":"sha512-e0qWhXMuWkUgEnkz4VpchPG/UC7Q0gAAwulza6ilvO+VqpJtjZ5T/a2RSNULCLRbbd7eHNAeifaQjB5GahHhAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICD2Gi0ZdRpQ5G+0z/3NFRGsMjIMjEvzRmkcVW4rlo+rAiEA6eABfnAcdhWRxr0TVzjkwkdEaWKAawcRKFcFnBQGplM="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}]},"0.1.3":{"name":"apps-b-builder","version":"0.1.3","description":"A component.io based builder for making JS packages","dependencies":{"coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","fs-extra":"~0.6.3","component":"~0.17.0","component-builder":"~0.9.0","uglify-js":"~2.2.5","clean-css":"~0.4.2","eco":"~1.1.0-rc-3","stylus":"~0.34.1","nib":"~1.0.1","buffet":"~0.6.0"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making JS packages.\n\n##Quick Start\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build:\n\n```bash\n# relative to current working directory\n$ apps-b build ./src/ ./build/\n```\n\nIf you wish to serve a particular directory (an example):\n\n```bash\n# relative to current working directory\n$ apps-b serve ./example\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.1.3","dist":{"shasum":"7736a046a42bcb7289aefbdc887ebc139dbedd25","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.1.3.tgz","integrity":"sha512-TMEoQgYvKVX9FsSKVZkh7C78MTgpJSvdKS+/Bl/EzmZBpT47SMSVoBT/3Qzz9uyCnnj5BtpO/Y5sqoNTHAscJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDex9fttXICxJw3Px/ZqvkkJfuC4PBgPidLinpqjCZAQAiA1V0ZV+2XwQ2k+IW8LK1+CA+0knb6tUj/OcTnLRmsDGg=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}]},"0.1.4":{"name":"apps-b-builder","version":"0.1.4","description":"A component.io based builder for making JS packages","dependencies":{"coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","fs-extra":"~0.6.3","component":"~0.17.0","component-builder":"~0.9.0","uglify-js":"~2.2.5","clean-css":"~0.4.2","eco":"~1.1.0-rc-3","stylus":"~0.34.1","nib":"~1.0.1","buffet":"~0.6.0"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making JS packages.\n\n##Quick Start\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build:\n\n```bash\n# relative to current working directory\n$ apps-b build ./src/ ./build/\n```\n\nIf you wish to serve a particular directory (an example):\n\n```bash\n# relative to current working directory\n$ apps-b serve ./example\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.1.4","dist":{"shasum":"5a07f9abdb19451caf36cb9aeb216e43a87b827f","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.1.4.tgz","integrity":"sha512-76tdZzIj1EL54+bCqjHkizJGNg5vemwD0QECuc4OYM5Otk7t/PACaCjZkk7IDMOuh7W9N6IxXve5V36RUa235A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYJDZvMtk1GYtu0eVdvlZG7mP+Ypb8pYLhlPBNktGQRwIhAJuJPPTdoMsrJ1Yx1nM4zbmeA26fqps9+7+kmvxGw62X"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}]},"0.3.0":{"name":"apps-b-builder","version":"0.3.0","description":"A component.io based builder for making modular JS packages","dependencies":{"component":"0.17.6","component-builder":"0.9.2","coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","eco":"~1.1.0-rc-3","stylus":"~0.34.1","nib":"~1.0.1","buffet":"~0.6.0"},"devDependencies":{"proxyquire":"~0.5.1","mocha":"~1.12.0"},"scripts":{"test":"make test"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps","modules","commonjs"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making modular JS components.\n\n[ ![Codeship Status for intermine/apps-b-builder](https://www.codeship.io/projects/5416ca40-118b-0131-48c9-420f81acb815/status?branch=master)](https://www.codeship.io/projects/7802)\n\n##Quick Start\n\nGlobally install the npm package:\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build a component:\n\n```bash\n# relative to current working directory\n$ apps-b ./src/ ./build/\n```\n\n##Create a component\n\nA component consists of one `component.json` config file and one or more [source file](#supported-types). Script source files use the [CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1) Modules/1.1 implementation so you use `require` and `module.exports` to link between modules & components. This is a standard in the Node.js community.\n\n###Component config file\n\nYour config file needs to contain links to all files you want to compile. Compile to JS/CSS go into the `scripts`/`styles` section respectively. The `dependencies` map contains [links to other components](https://github.com/component/component/wiki/Components).\n\n```json\n{\n    \"name\": \"app\",\n    \"main\": \"app.js\",\n    \"version\": \"1.0.0\",\n    \"dependencies\": {\n        \"visionmedia/superagent\": \"*\",\n        \"necolas/normalize.css\": \"*\",\n        \"component/marked\": \"*\"\n    },\n    \"scripts\": [\n        \"app.coffee\",\n        \"template.eco\",\n    ],\n    \"styles\": [\n        \"styles/fonts.css\",\n        \"styles/app.styl\"\n    ]\n}\n```\n\n###Supported types\n\nHave a look into the `test/fixtures` directory for examples of supported filetypes:\n\n1. [CoffeeScript](http://coffeescript.org/); compile-to-JS language\n1. CSS\n1. [Eco](https://github.com/sstephenson/eco); a templating language\n1. JavaScript\n1. [Literate CoffeeScript](http://coffeescript.org/#literate); mix [Markdown](http://daringfireball.net/projects/markdown/) and CS syntax\n1. [Stylus](http://learnboost.github.io/stylus/); a CSS preprocessor including [nib](http://visionmedia.github.io/nib/) CSS3 extensions\n\n###JavaScript API\n\nYou can programatically build files too:\n\n```coffeescript\nbuild = require './build.coffee'\n\nbuild [ './src/', './build/' ], (err) ->\n    throw err if err\n```\n\n##Test it\n\nTests using Mocha:\n\n```bash\n$ npm install -d\n$ make test\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.3.0","dist":{"shasum":"f17acdc517284c6379e3a0f230fd716ceddc342f","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.3.0.tgz","integrity":"sha512-0Akor4KShmIxWDbA/hqDXjvwWRkFfEEJzlDbXUC5jovpk+hXnpg/wW3+xjdfnkJK7jCT5KvEpNJFDWAp+afUyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj51pBS3z5a1Pqz7VyyDsyA7X2bf7afIDQmdu0PB9TTAIgMz9uQb/ofnGrCa/tQs9elgdrpkILEtSyvR0xdcL2PiA="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}]},"0.4.0":{"name":"apps-b-builder","version":"0.4.0","description":"A component.io based builder for making modular JS packages","dependencies":{"component":"0.17.6","component-builder":"0.9.2","coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","eco":"~1.1.0-rc-3","stylus":"~0.34.1","nib":"~1.0.1","buffet":"~0.6.0"},"devDependencies":{"proxyquire":"~0.5.1","mocha":"~1.12.0"},"scripts":{"test":"make test"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps","modules","commonjs"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making modular JS components.\n\n[ ![Codeship Status for intermine/apps-b-builder](https://www.codeship.io/projects/5416ca40-118b-0131-48c9-420f81acb815/status?branch=master)](https://www.codeship.io/projects/7802)\n\n##Quick Start\n\nGlobally install the npm package:\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build a component:\n\n```bash\n# relative to current working directory\n$ apps-b ./src/ ./build/\n```\n\n##Create a component\n\nA component consists of one `component.json` config file and one or more [source file](#supported-types). Script source files use the [CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1) Modules/1.1 implementation so you use `require` and `module.exports` to link between modules & components. This is a standard in the Node.js community.\n\n###Component config file\n\nTo write a component config file in JSON refer to the [standard](https://github.com/component/component/wiki/Spec). For custom types that `apps-b` handles enlist these source files in the `apps-b` section. This way our component can be installed by the default installer yet our builder know where to look for custom source files.\n\nRemember, only source files (not JS or CSS) go to the `apps-b` section.\n\n```javascript\n{\n    \"name\": \"app\",\n    // Which file do we require as the main file.\n    \"main\": \"build/build.js\",\n    \"version\": \"1.0.0\",\n    // Other components.\n    \"dependencies\": {\n        \"visionmedia/superagent\": \"*\",\n        \"necolas/normalize.css\": \"*\",\n        \"component/marked\": \"*\"\n    },\n    // Copy these JS files when installing the component.\n    \"scripts\": [\n        \"build/build.js\"\n    ],\n    // Copy these CSS files when installing the component.\n    \"styles\": [\n        \"styles/fonts.css\"\n    ],\n    // Custom sources for our builder.\n    \"apps-b\": [\n        \"app.coffee\",\n        \"template.eco\",\n        \"styles/app.styl\"\n    ]\n}\n```\n\n###Supported types\n\nHave a look into the `test/fixtures` directory for examples of supported filetypes:\n\n1. [CoffeeScript](http://coffeescript.org/); compile-to-JS language\n1. CSS\n1. [Eco](https://github.com/sstephenson/eco); a templating language\n1. JavaScript\n1. [Literate CoffeeScript](http://coffeescript.org/#literate); mix [Markdown](http://daringfireball.net/projects/markdown/) and CS syntax\n1. [Stylus](http://learnboost.github.io/stylus/); a CSS preprocessor including [nib](http://visionmedia.github.io/nib/) CSS3 extensions\n\n###JavaScript API\n\nYou can programatically build files too:\n\n```coffeescript\nbuild = require './build.coffee'\n\nbuild [ './src/', './build/' ], (err) ->\n    throw err if err\n```\n\n##Test it\n\nTests using Mocha:\n\n```bash\n$ npm install -d\n$ make test\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.4.0","dist":{"shasum":"85f71747c641876e7cc18b7402fd36ba191b21ca","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.4.0.tgz","integrity":"sha512-WNru6tVdn6oiMgEd/563V82m27Bk2sFNs/F1t5PCp4IYPExR8q7O5P/cIuohyTM21d98ILwtp5IN0iAxHsKg0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlOzAmz1SULlRebI/1YH6sC10qwQE9xOyCR3wBF156gAiAG5I+lLCJTyrR7Fa4/jh0zd7blrvTbTRhW4gDATeH5CA=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}]},"0.4.1":{"name":"apps-b-builder","version":"0.4.1","description":"A component.io based builder for making modular JS packages","dependencies":{"component":"0.17.6","component-builder":"0.9.2","coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","eco":"~1.1.0-rc-3","stylus":"~0.34.1","nib":"~1.0.1","buffet":"~0.6.0"},"devDependencies":{"proxyquire":"~0.5.1","mocha":"~1.12.0"},"scripts":{"test":"make test"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps","modules","commonjs"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making modular JS components.\n\n[ ![Codeship Status for intermine/apps-b-builder](https://www.codeship.io/projects/5416ca40-118b-0131-48c9-420f81acb815/status?branch=master)](https://www.codeship.io/projects/7802)\n\n##Quick Start\n\nGlobally install the npm package:\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build a component:\n\n```bash\n# relative to current working directory\n$ apps-b ./src/ ./build/\n```\n\n##Create a component\n\nA component consists of one `component.json` config file and one or more [source file](#supported-types). Script source files use the [CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1) Modules/1.1 implementation so you use `require` and `module.exports` to link between modules & components. This is a standard in the Node.js community.\n\n###Component config file\n\nTo write a component config file in JSON refer to the [standard](https://github.com/component/component/wiki/Spec). For custom types that `apps-b` handles enlist these source files in the `apps-b` section. This way our component can be installed by the default installer yet our builder know where to look for custom source files.\n\nRemember, only source files (not JS or CSS) go to the `apps-b` section.\n\n```javascript\n{\n    \"name\": \"app\",\n    // Which file do we require as the main file.\n    \"main\": \"app.js\",\n    \"version\": \"1.0.0\",\n    // Other components.\n    \"dependencies\": {\n        \"visionmedia/superagent\": \"*\",\n        \"necolas/normalize.css\": \"*\",\n        \"component/marked\": \"*\"\n    },\n    // Copy these JS files when installing the component.\n    \"scripts\": [\n        \"build/build.js\"\n    ],\n    // Copy these CSS files when installing the component.\n    \"styles\": [\n        \"styles/fonts.css\"\n    ],\n    // Custom sources for our builder.\n    \"apps-b\": [\n        \"app.coffee\",\n        \"template.eco\",\n        \"styles/app.styl\"\n    ]\n}\n```\n\n###Supported types\n\nHave a look into the `test/fixtures` directory for examples of supported filetypes:\n\n1. [CoffeeScript](http://coffeescript.org/); compile-to-JS language\n1. CSS\n1. [Eco](https://github.com/sstephenson/eco); a templating language\n1. JavaScript\n1. [Literate CoffeeScript](http://coffeescript.org/#literate); mix [Markdown](http://daringfireball.net/projects/markdown/) and CS syntax\n1. [Stylus](http://learnboost.github.io/stylus/); a CSS preprocessor including [nib](http://visionmedia.github.io/nib/) CSS3 extensions\n\n###JavaScript API\n\nYou can programatically build files too:\n\n```coffeescript\nbuild = require './build.coffee'\n\nbuild [ './src/', './build/' ], (err) ->\n    throw err if err\n```\n\n##Test it\n\nTests using Mocha:\n\n```bash\n$ npm install -d\n$ make test\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.4.1","dist":{"shasum":"6dccf8f3fb746c3393f2861889bf9ebf3905eb3b","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.4.1.tgz","integrity":"sha512-BRB++5Uwgag6WEjQbdjBwL3JYJX3fdHt3QkUY4B5foc8+3Rvd3n6QrsS0haNNgvSIeniM8X+RUwJD//L772FqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgU1A4+F2qGm67NB399OQ/REFo5wfuuzNAnpQ2GidiEAiEAgOMivpl+at1CYZGMh8GAO/Bg1OkcpZPbdh3pmvkVQzE="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}]},"0.4.3":{"name":"apps-b-builder","version":"0.4.3","description":"A component.io based builder for making modular JS packages","dependencies":{"component":"0.17.6","component-builder":"0.9.2","coffee-script":"~1.6.2","lodash":"~1.3.1","async":"~0.2.9","node-logging":"~0.1.6","eco":"~1.1.0-rc-3","stylus":"~0.34.1","nib":"~1.0.1","buffet":"~0.6.0"},"devDependencies":{"proxyquire":"~0.5.1","mocha":"~1.12.0"},"scripts":{"test":"make test"},"bin":{"apps-b":"bin/apps-b"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"},"keywords":["intermine","builder","widgets","apps","modules","commonjs"],"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"readme":"#apps-b-builder\n\nA [component.io](https://github.com/component/component) based builder for making modular JS components.\n\n[ ![Codeship Status for intermine/apps-b-builder](https://www.codeship.io/projects/5416ca40-118b-0131-48c9-420f81acb815/status?branch=master)](https://www.codeship.io/projects/7802)\n\n##Quick Start\n\nGlobally install the npm package:\n\n```bash\n$ sudo npm install apps-b-builder -g\n```\n\nThen specify the input and output path to build a component:\n\n```bash\n# relative to current working directory\n$ apps-b ./src/ ./build/\n```\n\n##Create a component\n\nA component consists of one `component.json` config file and one or more [source file](#supported-types). Script source files use the [CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1) Modules/1.1 implementation so you use `require` and `module.exports` to link between modules & components. This is a standard in the Node.js community.\n\n###Component config file\n\nTo write a component config file in JSON refer to the [standard](https://github.com/component/component/wiki/Spec).\n\n```javascript\n{\n    \"name\": \"app\",\n    // Which file do we require as the main file.\n    \"main\": \"app.js\",\n    \"version\": \"1.0.0\",\n    // Other components.\n    \"dependencies\": {\n        \"visionmedia/superagent\": \"*\",\n        \"necolas/normalize.css\": \"*\",\n        \"component/marked\": \"*\"\n    },\n    \"scripts\": [\n        \"app.coffee\",\n        \"template.eco\"        \n    ],\n    \"styles\": [\n        \"styles/fonts.css\",\n        \"styles/app.styl\"\n    ]\n}\n```\n\n###Supported types\n\nHave a look into the `test/fixtures` directory for examples of supported filetypes:\n\n1. [CoffeeScript](http://coffeescript.org/); compile-to-JS language, goes into the `scripts` section\n1. CSS, goes into the `styles` section\n1. [Eco](https://github.com/sstephenson/eco); a templating language, goes into the `scripts` section\n1. JavaScript, goes into the `scripts` section\n1. [Literate CoffeeScript](http://coffeescript.org/#literate); mix [Markdown](http://daringfireball.net/projects/markdown/) and CS syntax, goes into the `scripts` section\n1. [Stylus](http://learnboost.github.io/stylus/); a CSS preprocessor including [nib](http://visionmedia.github.io/nib/) CSS3 extensions, goes into the `styles` section\n\n###JavaScript API\n\nYou can programatically build files too:\n\n```coffeescript\nbuild = require './build.coffee'\n\nbuild [ './src/', './build/' ], (err) ->\n    throw err if err\n```\n\n##Test it\n\nTests using Mocha:\n\n```bash\n$ npm install -d\n$ make test\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/intermine/apps-b-builder/issues"},"_id":"apps-b-builder@0.4.3","dist":{"shasum":"5aff57c5a3d580439ce94e24dce0932592053a1f","tarball":"https://registry.npmjs.org/apps-b-builder/-/apps-b-builder-0.4.3.tgz","integrity":"sha512-QKU/OuraKp7LF+t8uJfe0ISB0aERKMXA8URyqiylAA3dY+jpnDlHu4NE5jDiuSr7wi1jOT7oqHp4y6AivuNz/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwO0F+NHIVSrZiU8ZF16b5akUKqTi6Y0RVxJ2o7pBGcAiBSW7UvXTcCUIzgeexnapFQdFDPheApe9Bv8CuR1xWzlw=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"radekstepan","email":"dev@radekstepan.com"},"maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}]}},"readme":"#apps-b-builder\n\nA component.io based builder for making JS packages.\n\n##Quick Start\n\n```bash\n$ npm install apps-b-builder\n```\n\nThen specify the input and output path to build:\n\n```bash\n$ apps-b-builder ./src/ ./build/\n```","maintainers":[{"name":"radekstepan","email":"dev@radekstepan.com"}],"time":{"modified":"2022-06-13T03:19:25.726Z","created":"2013-08-02T15:27:45.041Z","0.0.1":"2013-08-02T15:27:46.567Z","0.0.2":"2013-08-02T22:09:32.815Z","0.1.0":"2013-08-02T22:58:06.039Z","0.1.1":"2013-08-17T14:51:16.075Z","0.1.2":"2013-09-10T17:44:38.237Z","0.1.3":"2013-10-04T16:11:15.923Z","0.1.4":"2013-10-04T22:05:04.489Z","0.3.0":"2013-10-07T15:53:44.247Z","0.4.0":"2013-10-17T13:20:55.103Z","0.4.1":"2013-10-17T16:18:26.187Z","0.4.3":"2013-11-04T12:53:38.242Z"},"author":{"name":"Radek","email":"rs676@cam.ac.uk"},"repository":{"type":"git","url":"git@github.com:intermine/apps-b-builder.git"}}