{"_id":"resource_build","_rev":"28-b5998905862a826091e890b36c550c57","name":"resource_build","description":"This is a tool make easier to concat and compress the javascript & css files","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"resource_build","version":"0.0.1","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"~0.4.1","grunt-contrib-concat":"~0.3.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-cssmin":"*"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/NanJingBoy/resource_build/issues"},"_id":"resource_build@0.0.1","dist":{"shasum":"aa6cce9ff385266ece72f4c482c0080c72b72853","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.0.1.tgz","integrity":"sha512-XCzTTnHxjt/gqTPpIibimLUsrzXqBGLINxOcTtE12YFq6au18uTyeIESDjPyu/CkIClW9QZRYnVSujxc1Xz48Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRlmcjX3uGiNMxWlNLsBqrtZbdSDSZ48wjLXDRgmOrVAiEA127F0/auBzPjferYnocL0Y1RgEcWRusS5WSYgwdz1z8="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.0.3":{"name":"resource_build","version":"0.0.3","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"~0.4.1","grunt-contrib-concat":"~0.3.0","grunt-contrib-uglify":"~0.2.2","grunt-css-url-replace":"*","grunt-contrib-cssmin":"*"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/NanJingBoy/resource_build/issues"},"_id":"resource_build@0.0.3","dist":{"shasum":"2d07243ee29b34576a2d5f81044f8cebeeb70584","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.0.3.tgz","integrity":"sha512-ULcurfu0zyLnc5hT4MslX/AGnf7pKLGcEBztFpzOO2U8m0DrKWWnhPiH5QBruH/XGX25g0QuXjnm0ZUmqQK0Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAX9f6eCdDimdRbxIbqrKP4xJo8UCTXC8Iii8tTmyfr0AiEAhUjapmYOi9k45YXXQI0+BXxYPwm2RPTEuLp3eDwleB0="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.0.5":{"name":"resource_build","version":"0.0.5","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"~0.4.1","grunt-contrib-concat":"~0.3.0","grunt-contrib-uglify":"~0.2.2","grunt-css-url-replace":"*","grunt-contrib-cssmin":"*"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/NanJingBoy/resource_build/issues"},"_id":"resource_build@0.0.5","dist":{"shasum":"b0be4f32f343dc1d9908a702b990b935520139e2","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.0.5.tgz","integrity":"sha512-SxS1FWaJXbz3dy/47j9c07MzWB1t91fkn0n/ckKqmIKWby2Zxgc7I6w2eZQH/SoxGW7VgDk0Q5a7xAYhY/R8LQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC6HY23BWnt/FoDKWS5Ayel/gjNeGXTTTm+lvHDWy/mQIhAPIotXVcVacbc6PQURmj/Kfu0Nvltwm53KCyA64cPVL4"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.0.7":{"name":"resource_build","version":"0.0.7","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"~0.4.1","grunt-contrib-concat":"~0.3.0","grunt-contrib-uglify":"~0.2.2","grunt-css-url-replace":"*","grunt-contrib-cssmin":"*"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/NanJingBoy/resource_build/issues"},"_id":"resource_build@0.0.7","dist":{"shasum":"cd5a989326c3aee8876b2d25460fee6c63d27f8c","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.0.7.tgz","integrity":"sha512-G2Rd1Z0r5FzXGC7X7ZHc+SSXXxS6LlrQg/uXLVkBjPChI8fUHFcGLObcuFlR3eWRPjyta/ktyPm4ui4rIOZQbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXbXaopDDzLzwdx9CIqTtC3pkvhN7RFEInDLoM3NY4LwIgQyS/Wp+QIQuGof46TGic0qleAAqiEVK2oXy1n1+bijU="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.1.0":{"name":"resource_build","version":"0.1.0","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"~0.4.1","grunt-contrib-concat":"~0.3.0","grunt-contrib-uglify":"~0.2.2","grunt-css-url-replace":"*","grunt-contrib-cssmin":"*"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"_id":"resource_build@0.1.0","description":"This is a tool make easier to concat and compress the javascript & css files","dist":{"shasum":"22140a3267eef62c64e58d241598e2d78fc3f50b","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.1.0.tgz","integrity":"sha512-JLx/RMNatUMs7QI3jpTnW4VfbUNv4AH6ibjoXebX4ZaXT1YXE+b/LDJThKGL6C52q3Q2QBRt1JL9Fe+4xShh3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBzhxCsf5+9Bmm8OnLYkRRkrdFe7V1aHtRsx3zRw9S3AiBTs0/0w4OCbmRJoDoaJVJnV1ou8OjUAQaWtlJL4xJ+dQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.1.1":{"name":"resource_build","version":"0.1.1","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"~0.4.1","grunt-contrib-concat":"~0.3.0","grunt-contrib-uglify":"~0.2.2","grunt-css-url-replace":"*","grunt-contrib-cssmin":"*"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/NanJingBoy/resource_build/issues"},"_id":"resource_build@0.1.1","dist":{"shasum":"2ba4bda97686e0304ad910c12a8df9d6072a47d2","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.1.1.tgz","integrity":"sha512-T0a/W++9NDQlpEyX4q+qWn28LCuHf75YAXtNhtaf4r92Uqh6fgFXKmQwetQEBSc7DIz1pHv/7vGOBpxMoIhyyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXpDIG7J4KheJ97pp2SYsSybYGWZzAD3/8skTFntf3fAiEA6jW+y//uQqgpm9LJ6yiEz4qLT2D1e370czeduSzHfAU="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.1.3":{"name":"resource_build","version":"0.1.3","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"~0.4.1","grunt-contrib-concat":"~0.3.0","grunt-contrib-uglify":"~0.2.2","grunt-css-url-replace":"*","grunt-contrib-cssmin":"*"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/NanJingBoy/resource_build/issues"},"_id":"resource_build@0.1.3","dist":{"shasum":"aca29e7e4d4e5cdc4bcbbbc5ec6bf3ec83b143ef","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.1.3.tgz","integrity":"sha512-ZTFi8kfZ9POuEm2gLW4ziXF86WyxSGf6Ly7r4QeshjbyNJYUvfJKJSPqin+e3VNoL4AKaJORKlxM5thzV9S/EQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoC6DWGTN7jNNoA54XPBTRUZKwWFZ9eWvWSs5mD7pPwQIhAM/52m0g4S8kM53u4kWWYXIoIfoUJNGqfCGCSDOGHELe"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.1.5":{"name":"resource_build","version":"0.1.5","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"0.4.1","grunt-contrib-concat":"0.3.0","grunt-contrib-uglify":"0.2.4","grunt-css-url-replace":"*","grunt-contrib-cssmin":"0.6.1"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/NanJingBoy/resource_build/issues"},"homepage":"https://github.com/NanJingBoy/resource_build","_id":"resource_build@0.1.5","dist":{"shasum":"965667013825b716ac50259f6a90c42ce36d7edf","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.1.5.tgz","integrity":"sha512-LLCtV8KWHJin8ZZP/7oO3VkOC/FHoRk62vTtA+fEUnWHCNK/7FjM0iHkhARpDU03AFbN/tMEobxgV7YTg/D9hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlJwjA2LJMltc8FSf/QwQhdzMZwYItIup9hYboH7N0qgIhAOWrUJFkjlpECH2uYkcyNJF7yVUAPGH8D0w8xLM/jm43"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.2.0":{"name":"resource_build","version":"0.2.0","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"0.4.1","grunt-contrib-concat":"0.3.0","grunt-contrib-uglify":"0.2.4","grunt-css-url-replace":"*","grunt-contrib-cssmin":"0.6.1","grunt-contrib-copy":"0.5.0","grunt-contrib-clean":"0.5.0"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/NanJingBoy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/NanJingBoy/resource_build/issues"},"homepage":"https://github.com/NanJingBoy/resource_build","_id":"resource_build@0.2.0","dist":{"shasum":"340fcf7ced5015dd60f9be84f02139bfc39e2723","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.2.0.tgz","integrity":"sha512-LuECO8ku+T8p2dQcivby/EwkHR39qKpyk+vtDKHvZv9foyu3o0NUtOx67IofKP9cG85x5qSNM/6UfBwoWQ5wOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjT418Et0QuLgJ+2NMTxBMVZnuD4T1KvXyZquFbudL5AIhANdzdbPorLY+8SolyoQwYXNDmSdnMS+XNEbUC3+UFiIf"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{}},"0.2.1":{"name":"resource_build","version":"0.2.1","author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"dependencies":{"underscore":"1.4.x","MD5":"*","commander":"*","grunt":"0.4.1","grunt-contrib-concat":"0.3.0","grunt-contrib-uglify":"0.2.4","grunt-css-url-replace":"*","grunt-contrib-cssmin":"0.6.1","grunt-contrib-copy":"0.5.0","grunt-contrib-clean":"0.5.0"},"devDependencies":{"mocha":"*","should":"*"},"keys":["javascript","css","resource","build","web"],"bin":{"rbuild":"./bin/rbuild"},"repository":{"type":"git","url":"git://github.com/nanjingboy/resource_build"},"description":"This is a tool make easier to concat and compress the javascript & css files","bugs":{"url":"https://github.com/nanjingboy/resource_build/issues"},"homepage":"https://github.com/nanjingboy/resource_build","_id":"resource_build@0.2.1","dist":{"shasum":"c748ee79cd4b4aca9d161407d9eba20e5d785807","tarball":"https://registry.npmjs.org/resource_build/-/resource_build-0.2.1.tgz","integrity":"sha512-WxlL1Lxwsuq90l/vOl8Z+l8l/5FT9Yy78N/zgZlfe82qJnkDgCgnLutd/6BKQet1raobr2B6XiNjlVZHd5jpuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFq0jF/cFWsbcmFq6+YZv5WuJXOpojSiTjLH1XPRAVwYAiAHEgVL3aVQPyvtVIoIvTRd40BmJdu1pe36eyLz8rkCbA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"},"maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"directories":{},"deprecated":"this package is no longer maintenance"}},"readme":"# resource_build\n\nThis is a tool make easier to concat and compress the javascript & css files\n\n## Installing\n\n```shell\n $ npm install -g resource_build\n```\n\n## Getting started\n\nCreate .rbuildrc in your application root directory:\n\n```\n{\n    \"path\": {\n        \"build\": {\n            \"javascript\": \"build/javascripts\",\n            \"css\": \"build/stylesheets\"\n        },\n        \"components_config\": \"configs/components.json\"\n        \"resources_config\": \"configs/resources\",\n        \"static_root\": \"assets\"\n    },\n    \"prefix\": {\n        \"resources_key\": \"controllers\",\n        \"resources_css\": \"assets/stylesheets\"\n        \"resources_javascript\": \"assets/javascripts\"\n    }\n}\n\n```\n\n>- The components_config should be a json file, but resources_config can be either a json file or a directory,\nyou can see the example in [tests/configs](https://github.com/NanJingBoy/resource_build/tree/master/tests/configs)\n\n>- The static_root is root static directory in your application\n\n>- The resources_key is the key of resource prefix(e.g. a resource key is named user@index, the full key is should be\ncontrollers/user@index)\n\n>- The resources_css & resources_javascript are the source file path prefix(e.g. a resource file path is defined home.js,\nthe full path is should be assets/javascripts/home.js)\n\n>- In resources configs, you may found a special key named 'global', it means the resources would be loaded in every page(e.g. [tests/configs/resources/global.json](https://github.com/NanJingBoy/resource_build/blob/master/tests/configs/resources/global.json))\n\n>- If you want to ingore the global resources, just set ignore_global true(e.g. [tests/configs/resources/home.json](https://github.com/NanJingBoy/resource_build/blob/master/tests/configs/resources/home.json))\n\n### Usage Examples\nYou can see a simple example in [tests](https://github.com/NanJingBoy/resource_build/tree/master/tests)\n\n\n## Usage\n```shell\n  $ rbuild -h\n\n  Usage: rbuild [options]\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n    -c, --config   set config file\n    -f, --force    build file even it exists\n    -i, --ignore   unnecessary to create rbuild.lock file in application root directory\n    -r, --replace  replace urls in css files with absolute path\n```\n\n## Contributors\n>- [superbug](https://github.com/superbug)\n\n## License\n>- [MIT](http://www.opensource.org/licenses/MIT)\n\n## Release History\n_2014-02-25   v0.2.1   Ignore resource config if no javascript is required_\n\n_2014-02-24   v0.2.0   Change the task order of concat and uglify to increase the whole speed_\n\n_2013-11-21   v0.1.5   Update the version of depedences from the latest to stable_\n\n_2013-09-05   v0.1.3   Fixed global resource parser error_\n\n_2013-09-04   v0.1.1   Improve the tool let one page can ignore the global resources_\n\n_2013-09-03   v0.1.0   Improve the tool to remove unuseful dest files_\n\n_2013-09-02   v0.0.7   Fix error when not defined the css in components config_\n\n_2013-09-02   v0.0.5   Update rbuild.lock format in application root_\n\n_2013-08-30   v0.0.3   Improve the tool to replace urls in css files with absolute path_\n\n_2013-08-28   v0.0.1   Release the first version_\n\n\n","maintainers":[{"name":"tom21joy","email":"hzlhu.dargon@gmail.com"}],"time":{"modified":"2022-06-26T11:56:12.791Z","created":"2013-08-28T06:39:50.767Z","0.0.1":"2013-08-28T06:39:58.885Z","0.0.3":"2013-08-30T03:43:05.144Z","0.0.5":"2013-09-02T03:43:04.766Z","0.0.7":"2013-09-02T09:41:40.770Z","0.1.0":"2013-09-03T04:42:11.193Z","0.1.1":"2013-09-04T06:40:33.630Z","0.1.3":"2013-09-05T06:44:45.474Z","0.1.5":"2013-11-21T01:56:28.239Z","0.2.0":"2014-02-24T12:23:59.909Z","0.2.1":"2014-02-25T15:07:43.376Z"},"author":{"name":"Tom.Huang","email":"hzlhu.dargon@gmail.com"},"repository":{"type":"git","url":"git://github.com/nanjingboy/resource_build"},"readmeFilename":"README.md","homepage":"https://github.com/nanjingboy/resource_build","contributors":[{"name":"superbug","email":"sunweijun1989@gmail.com"}],"bugs":{"url":"https://github.com/nanjingboy/resource_build/issues"}}