{"_id":"grunt-shimney-sweeper","_rev":"32-654fefe7cf936a33834e488affdffac2","name":"grunt-shimney-sweeper","description":"The sweeper housekeeps your shimney with grunt.","dist-tags":{"latest":"1.2.5"},"versions":{"1.0.0":{"name":"grunt-shimney-sweeper","version":"1.0.0","description":"Housekeep your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","config-mancer":"~0.2.1","read-installed":"~0.2.4"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","nodeunit":"~0.8.1","grunt-contrib-nodeunit":"~0.2.0"},"_id":"grunt-shimney-sweeper@1.0.0","dist":{"shasum":"982181a190984cb23e586dbf567eac49604c212a","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.0.0.tgz","integrity":"sha512-Pgdcx6uz5zJ6rL7eAdOB64zgd05NuVPLYWDDqUhkaU2TuNKA3JJrTR3KYtjnHsC6ANyB7ctyfbTpty7lnOdEgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDznjCoT+Etbzc++VYchrb+akh7Z0mQHKI9nY8f73siKwIhAJDVno5/uGTEpfrZUHniUKcl5KZu56HxHKGnLuvpBXQ6"}]},"_npmVersion":"1.1.63","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]},"1.1.0":{"name":"grunt-shimney-sweeper","version":"1.1.0","description":"Housekeep your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","config-mancer":"~0.2.1","read-installed":"~0.2.4"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","nodeunit":"~0.8.1","grunt-contrib-nodeunit":"~0.2.0","grunt-release":"~0.5.1"},"_id":"grunt-shimney-sweeper@1.1.0","dist":{"shasum":"23297691500cd211f4c171c7376de39aa8d271a4","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.1.0.tgz","integrity":"sha512-Ijf0hD5k1fxDiDmwyikZPzkCLKyqIWW3zvvZq1QUU1isLhfFtwRd8f2UFARUNpVn/m6q1mPCq/FVQUnhq29xag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjux/uPtNXgXM2gqs1FhvJAa1fWQ8KPVzdRVHSjmXp9gIgW5gRy2aKVpyhmOaTtBrremQzCA1YCMyLYNhj59iJeiA="}]},"_npmVersion":"1.1.63","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]},"1.1.1":{"name":"grunt-shimney-sweeper","version":"1.1.1","description":"Housekeep your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","config-mancer":"~0.2.1","read-installed":"~0.2.4"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","nodeunit":"~0.8.1","grunt-contrib-nodeunit":"~0.2.0","grunt-release":"~0.5.1","chai":"~1.7.2","rimraf":"~2.2.2"},"bugs":{"url":"https://github.com/webforge-labs/grunt-shimney-sweeper/issues"},"_id":"grunt-shimney-sweeper@1.1.1","dist":{"shasum":"339ceb846f32ee6a1343454b3bd4ab2651ec987c","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.1.1.tgz","integrity":"sha512-w3Jzu+XOrxSgO2wqMeSIDykmK9DTKAQiD6AlJfowpM5t8725MKqN1P+p5unqClfbx+53qByC5wYV+ubXML1tQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbSC64p1I9Pu6v+oe/6RvBU2P3PKiUTAFkYsCT+CrDDAiAL9QhxTz1aw2IjT7QuInZ2WPuLbi0v0w0uzBfD/76D7Q=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]},"1.2.0":{"name":"grunt-shimney-sweeper","version":"1.2.0","description":"The sweeper housekeeps your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","read-installed":"~0.2.4","async":"~0.2.9","stringify-object":"~0.1.6","sprintf":"~0.1.2","requirejs-config-file":"~1.2.0"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-release":"~0.5.1","chai":"~1.7.2","rimraf":"~2.2.2","grunt-simple-mocha":"~0.4.0"},"_id":"grunt-shimney-sweeper@1.2.0","dist":{"shasum":"d16f9135e8476f1122456bb221c5dad4ee07d86d","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.2.0.tgz","integrity":"sha512-gBZuNEKlk8WDHXk7kGamIY6nuA5ziA0vT69n2S9Oa1PY0BAUqYV2/AMvqcdCqdO2B38vjr2DJf9Ovo8LgOEMSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf9BsL6ecmPBke51We103WZTYsWdcPPsr0lqCs3LC20QIgJJ/QP3CyUVr3+DdcgUNl1q81b+Kqi1STTvS6vz/k8m8="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]},"1.2.1":{"name":"grunt-shimney-sweeper","version":"1.2.1","description":"The sweeper housekeeps your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","read-installed":"~0.2.4","async":"~0.2.9","stringify-object":"~0.1.6","sprintf":"~0.1.2","requirejs-config-file":"~1.2.0"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-release":"~0.5.1","chai":"~1.7.2","rimraf":"~2.2.2","grunt-simple-mocha":"~0.4.0"},"_id":"grunt-shimney-sweeper@1.2.1","dist":{"shasum":"0123d79c7f09d7b1cbf3f7c5af4f3fbd9993c7b0","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.2.1.tgz","integrity":"sha512-traH6rLcHyCF8gDNJTFr8HEPh4sGM7/z2zaPzPmGPq0WYE5UaqVKZFIT0C7C9n258BpGKgY2tAJq2CWb7TLzSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/OpZKXiP1qGZis5HCqUZ0K+vz/uAO22zLXyi0tuIY8AiAOyjYUXZfhgIZqQUaStIKm0dV0QbGyl0a0sMLX+2fDqA=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]},"1.2.2":{"name":"grunt-shimney-sweeper","version":"1.2.2","description":"The sweeper housekeeps your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","read-installed":"~0.2.4","async":"~0.2.9","stringify-object":"~0.1.6","sprintf":"~0.1.2","requirejs-config-file":"~1.2.0"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-release":"~0.5.1","chai":"~1.7.2","rimraf":"~2.2.2","grunt-simple-mocha":"~0.4.0"},"bugs":{"url":"https://github.com/webforge-labs/grunt-shimney-sweeper/issues"},"_id":"grunt-shimney-sweeper@1.2.2","dist":{"shasum":"0ae953925f71e28c47064f426ef2b9c0d9d2d36d","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.2.2.tgz","integrity":"sha512-bvr7GTkSodROQrpRvHCOfnpIwwvtjOl66Nz1UQC1WQ8oyMukoCEpKrKNks2TH2YQG6P0zgrsBm8ugP/DhCBX7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnmzb8jd529M1rgnYQM0qbqRklCHIkcUrlsIaCDKIiDAiEAn19sispEwz24ankchMzmbbxSxCsljkXgcMn+uSjM4yY="}]},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]},"1.2.3":{"name":"grunt-shimney-sweeper","version":"1.2.3","description":"The sweeper housekeeps your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","read-installed":"~0.2.4","async":"~0.2.9","stringify-object":"~0.1.6","sprintf":"~0.1.2","requirejs-config-file":"~1.2.0"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-release":"~0.5.1","chai":"~1.7.2","rimraf":"~2.2.2","grunt-simple-mocha":"~0.4.0"},"bugs":{"url":"https://github.com/webforge-labs/grunt-shimney-sweeper/issues"},"homepage":"https://github.com/webforge-labs/grunt-shimney-sweeper","_id":"grunt-shimney-sweeper@1.2.3","dist":{"shasum":"429984244ed2ca30672bdbed0cf27d2688dca11d","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.2.3.tgz","integrity":"sha512-D7ew9aQYsTttjzhD5SdJrmTkqurwcbmJlPp328cLp107yffko724emefCUsf4gkWebRKvl8+Kw/zWXVCD0TCjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2NhsG8DYnB0IWoskaUcqa2MHwDv/bd74nKgss5X0/wwIgePlxgaUKus7Eqtlu6E+d4Z/aIphPDu8DiQCVc8sWQC4="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]},"1.2.4":{"name":"grunt-shimney-sweeper","version":"1.2.4","description":"The sweeper housekeeps your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","read-installed":"~0.2.4","async":"~0.2.9","stringify-object":"~0.1.6","sprintf":"~0.1.2","requirejs-config-file":"~1.2.0"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-release":"~0.5.1","chai":"~1.7.2","rimraf":"~2.2.2","grunt-simple-mocha":"~0.4.0"},"bugs":{"url":"https://github.com/webforge-labs/grunt-shimney-sweeper/issues"},"homepage":"https://github.com/webforge-labs/grunt-shimney-sweeper","_id":"grunt-shimney-sweeper@1.2.4","dist":{"shasum":"494afac4e56c89557ff89e4943da23349940fd4c","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.2.4.tgz","integrity":"sha512-SOcJUrPQcViGov1ZwdVSkg2hQ3ssSxLhM7oZYVujOeTrEE4iioHuuRVWWo/WU/+LEtKd2SjkPAALo91K09b56Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2hfrJtjFaamoUB0YUmsiHlUxb1FV8/4qjTixPTQHC9AiEApZjX18HhWE6XZlQ+UQAXR4VEj3c3rqtPPwsgfzlRwtQ="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]},"1.2.5":{"name":"grunt-shimney-sweeper","version":"1.2.5","description":"The sweeper housekeeps your shimney with grunt.","main":"Gruntfile.js","directories":{"test":"tests"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"keywords":["gruntplugin","shimney"],"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"license":"MIT","dependencies":{"grunt":"~0.4.1","read-installed":"~0.2.4","async":"~0.2.9","stringify-object":"~0.1.6","sprintf":"~0.1.2","requirejs-config-file":"~1.2.0","lodash":"~2.4.1"},"devDependencies":{"grunt-contrib-clean":"~0.5.0","grunt-contrib-jshint":"~0.6.4","grunt-release":"~0.5.1","chai":"~1.9.0","rimraf":"~2.2.2","grunt-simple-mocha":"~0.4.0"},"bugs":{"url":"https://github.com/webforge-labs/grunt-shimney-sweeper/issues"},"homepage":"https://github.com/webforge-labs/grunt-shimney-sweeper","_id":"grunt-shimney-sweeper@1.2.5","dist":{"shasum":"47f54edfef3ed98a6d61e4c9865f5a6eb79a0e95","tarball":"https://registry.npmjs.org/grunt-shimney-sweeper/-/grunt-shimney-sweeper-1.2.5.tgz","integrity":"sha512-sZ5+ET2a0GazomiE8RMg/pVX58IDMCFeWpGwWkll+jyqEwV2i5/gw5zGvkP3bD3FRE00cseqaqQ2uECG1QCTnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMUKFJdSUujCojSSswMAk1WOZfN4EX0tfYah/emOZ3fAiBHNkT2RY2C7EXWbHZPzeQSVrYcQUFXvyM+0pIeoy21Gg=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"pscheit","email":"p.scheit@ps-webforge.com"},"maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}]}},"readme":"# shimney-sweeper [![Build Status](https://travis-ci.org/webforge-labs/grunt-shimney-sweeper.png?branch=master)](https://travis-ci.org/webforge-labs/grunt-shimney-sweeper)\r\n\r\n\r\nHousekeep your shimney with grunt.\r\n\r\n## install with npm\r\n_If you haven't used [grunt][] before, be sure to check out the [Getting Started][] guide._\r\n\r\nFrom the same directory as your project's [Gruntfile][Getting Started] and [package.json][], install this plugin with the following command:\r\n\r\n```bash\r\nnpm install grunt-shimney-sweeper --save-dev\r\n```\r\n\r\nOnce that's done, add this line to your project's Gruntfile:\r\n\r\n```js\r\ngrunt.loadNpmTasks('grunt-shimney-sweeper');\r\n```\r\n\r\nIf the plugin has been installed correctly, running `grunt --help` at the command line should list the newly-installed plugin's task or tasks. In addition, the plugin should be listed in package.json as a `devDependency`, which ensures that it will be installed whenever the `npm install` command is run.\r\n\r\n[grunt]: http://gruntjs.com/\r\n[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md\r\n[package.json]: https://npmjs.org/doc/json.html\r\n\r\n\r\n## usage\r\n\r\n```\r\ngrunt sweepout\r\n```\r\n\r\nreads all your installed shimney packages exports them and writes a config for them.\r\n\r\n```\r\ngrunt sweep-config\r\n```\r\nreads all your installed shimney packages from npm and writes your config to `www/js/config.js`.\r\n\r\n```\r\ngrunt merge-configs\r\n```\r\n\r\nmerges serval requirejs configuration together, into a new config file. The config file might be a module as a template and the merge of all configs can be adjusted\r\n\r\nuse\r\n```javascript\r\ngrunt.initConfig({\r\n  \"sweep-config\": {\r\n    www: {\r\n      options: {\r\n        configFile: \"www/js/config.js\",\r\n        nodeModulesUrl: \"../../\" // with trailing slash, without node_modules/ appended\r\n      }\r\n    }\r\n  },\r\n\r\n  \"sweepout\": {\r\n    test: {\r\n      options: {\r\n        //configFile: \"build/js/config.js\", // where to write the config to. Uses ${dir}/config.js as default\r\n        // packageRoot: \"tmp\" // change this if your node_modules directory is not sibling to the gruntfile root\r\n        //dir: \"build/js\" or specifiy the output-dir on commandline with --dir\r\n      }\r\n    }\r\n  },\r\n\r\n  \"merge-configs\": {\r\n    rjsboot: {\r\n      options: {\r\n        targetFile: 'build/js/boot.js',\r\n\r\n        configFiles: [\r\n          'www/js/mylibrary/config.js',\r\n          'www/js/config.js'\r\n        ]\r\n\r\n        modify: function(mergedConfig) { // can return or modify the mergedConfig that is written\r\n          return { paths: {'user': 'overriden'} };\r\n        }\r\n\r\n        template: 'resources/config-template.js', // use this to inject the config in this file (will not be modified)\r\n      }\r\n    }\r\n  }\r\n});\r\n```\r\nin your `Gruntfile.js` to configure the sweeper.\r\n\r\nyour `config-template.js` used in merge-configs could be like this:\r\n\r\n```\r\nvar require = {\r\n\r\n}\r\n\r\nif (typeof(requirejs) === \"function\") {\r\n  requirejs.config(require);\r\n}\r\n```\r\nThis allows you to use the merged config before loading requirejs (recommended if you change the baseUrl) or as a data-main attribute in requirejs.\r\n\r\n## Migration\r\n\r\n### 1.0.0 => 1.1.0\r\n  - change `config` option into `configFile`\r\n\r\n### 1.0.0 => 1.2.0\r\n  - commands are now: sweepout, sweep-config, merge-configs\r\n  - all commands are multi tasks\r\n","maintainers":[{"name":"pscheit","email":"p.scheit@ps-webforge.com"}],"time":{"modified":"2022-06-18T15:57:25.194Z","created":"2013-09-04T17:11:16.163Z","1.0.0":"2013-09-04T17:11:19.318Z","1.1.0":"2013-09-05T08:26:11.820Z","1.1.1":"2013-09-06T01:06:23.326Z","2.0.0":"2013-09-30T07:27:00.653Z","2.1.0":"2013-09-30T07:29:25.903Z","1.2.0":"2013-09-30T07:46:25.486Z","1.2.1":"2013-09-30T09:27:35.873Z","1.2.2":"2013-11-03T11:54:29.457Z","1.2.3":"2014-02-13T08:46:35.497Z","1.2.4":"2014-03-03T06:23:07.458Z","1.2.5":"2014-09-11T09:55:23.868Z"},"author":{"name":"Philipp Scheit","email":"p.scheit@ps-webforge.com","url":"http://www.ps-webforge.com"},"repository":{"type":"git","url":"https://github.com/webforge-labs/grunt-shimney-sweeper.git"},"readmeFilename":"README.md","homepage":"https://github.com/webforge-labs/grunt-shimney-sweeper","keywords":["gruntplugin","shimney"],"bugs":{"url":"https://github.com/webforge-labs/grunt-shimney-sweeper/issues"},"license":"MIT"}