{"_id":"slush","_rev":"43-0dbf73b5a2aa07f33b1b3dd4f5182218","name":"slush","description":"The streaming scaffolding system - Gulp as a replacement for Yeoman","dist-tags":{"latest":"1.1.1"},"versions":{"0.1.0":{"name":"slush","description":"The streaming scaffolding system - Gulp as a replacement for Yeoman","version":"0.1.0","homepage":"http://github.com/klei/slush","repository":{"type":"git","url":"git://github.com/klei/slush"},"author":{"name":"Joakim Bengtson","email":"joakim@klei.se"},"preferGlobal":true,"tags":["scaffold","stream","project","init","tool","yeoman","gulp"],"files":["lib","bin"],"bin":{"slush":"./bin/slush.js"},"dependencies":{"glob":"~3.2.9","minimist":"~0.0.8","gulp-util":"^2.2.0","pretty-hrtime":"^0.2.0","archy":"^0.0.2","liftoff":"^0.9.6","chalk":"^0.4.0"},"devDependencies":{"mocha":"^1.17.0","should":"^3.1.0","jshint":"^2.4.1","gulp-jshint":"^1.4.0"},"scripts":{"test":"node gulpfile.js && NODE_ENV=test mocha --reporter spec"},"engineStrict":true,"engines":{"node":">= 0.9"},"licenses":[{"type":"MIT","url":"https://raw.github.com/klei/slush/master/LICENSE"}],"bugs":{"url":"https://github.com/klei/slush/issues"},"_id":"slush@0.1.0","dist":{"shasum":"fba26ee0aafd03aa5978e4a66500cfbb343bda38","tarball":"https://registry.npmjs.org/slush/-/slush-0.1.0.tgz","integrity":"sha512-i6Br0ZfWn1EelcQ89NZkhAKCRe9+3aMrk4UBlKdDfHMkIhQLh+HI1VnIH6VPwis3ol/84B8XrCZTkqkP3aUuJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExWducdH5SkoMUwVtQriQ1qP+20lD/i7vmIuhtQOmrtAiAmqcexfmWyF+5B+pyIZ14Aof4k6pAO5UrMi2FEBuG/Uw=="}]},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"joakimbeng","email":"joakim@klei.se"},"maintainers":[{"name":"joakimbeng","email":"joakim@klei.se"}],"directories":{}},"1.0.0":{"name":"slush","description":"The streaming scaffolding system - Gulp as a replacement for Yeoman","version":"1.0.0","homepage":"http://klei.github.io/slush","repository":{"type":"git","url":"git://github.com/klei/slush"},"author":{"name":"Joakim Bengtson","email":"joakim@klei.se"},"preferGlobal":true,"keywords":["scaffold","stream","project","init","tool","yeoman","gulp"],"files":["lib","bin"],"bin":{"slush":"./bin/slush.js"},"dependencies":{"glob":"~3.2.9","minimist":"~0.0.8","gulp-util":"^2.2.0","pretty-hrtime":"^0.2.0","archy":"^0.0.2","liftoff":"^0.9.6","chalk":"^0.4.0"},"devDependencies":{"mocha":"^1.17.0","should":"^3.1.0","jshint":"^2.4.1","gulp-jshint":"^1.4.0","gulp":"~3.5.6"},"scripts":{"test":"node gulpfile.js && NODE_ENV=test mocha --reporter spec"},"engineStrict":true,"engines":{"node":">= 0.9"},"licenses":[{"type":"MIT","url":"https://raw.github.com/klei/slush/master/LICENSE"}],"bugs":{"url":"https://github.com/klei/slush/issues"},"_id":"slush@1.0.0","dist":{"shasum":"698f4ac34380cb1d73b9ad371a6a21498ab328c5","tarball":"https://registry.npmjs.org/slush/-/slush-1.0.0.tgz","integrity":"sha512-FWfMfAz0o2lAMKIq/H5JNNWgTTILS7GN8WDI6eQdN20PKiM6zjb73/64EUUgl6JIibCRhAcuJlqe5X/l8R/wbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDoMJxBEq8H/LtHySE0cSS+deewio9foPVGADZgxE/SFAiAdXjJ5NOUtDM08WcGlxvwRkqA3/xQtm2/g7OUlxF9Xog=="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"joakimbeng","email":"joakim@klei.se"},"maintainers":[{"name":"joakimbeng","email":"joakim@klei.se"}],"directories":{}},"1.0.1":{"name":"slush","description":"The streaming scaffolding system - Gulp as a replacement for Yeoman","version":"1.0.1","homepage":"http://slushjs.github.io","repository":{"type":"git","url":"git://github.com/slushjs/slush"},"author":{"name":"Joakim Bengtson","email":"joakim@klei.se"},"preferGlobal":true,"keywords":["scaffold","stream","project","init","tool","yeoman","gulp"],"files":["lib","bin"],"bin":{"slush":"./bin/slush.js"},"dependencies":{"glob":"~4.0.0","minimist":"~0.1.0","gulp-util":"^2.2.0","pretty-hrtime":"^0.2.0","archy":"^0.0.2","liftoff":"~0.10.0","chalk":"^0.4.0"},"devDependencies":{"mocha":"^1.17.0","should":"^3.1.0","jshint":"^2.4.1","gulp-jshint":"^1.4.0","gulp":"~3.6.2"},"scripts":{"test":"node gulpfile.js && NODE_ENV=test mocha --reporter spec"},"engineStrict":true,"engines":{"node":">= 0.9"},"licenses":[{"type":"MIT","url":"https://raw.github.com/slushjs/slush/master/LICENSE"}],"bugs":{"url":"https://github.com/slushjs/slush/issues"},"_id":"slush@1.0.1","_shasum":"7935a71569c593dc0bda24c0724ed49115521b26","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"joakimbeng","email":"joakim@klei.se"},"maintainers":[{"name":"joakimbeng","email":"joakim@klei.se"}],"dist":{"shasum":"7935a71569c593dc0bda24c0724ed49115521b26","tarball":"https://registry.npmjs.org/slush/-/slush-1.0.1.tgz","integrity":"sha512-6Uc4e0ppUlrBTYSWrWbtnvmNp5Mnmz8fuYb9iK8C5ZxILyELEZCWEJkHTFAlauiJvrFyYRU8mUhaojiCukxgdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBh6m9aDbme2G/PZws3urdJo903fB1wSLBjJAgYJ0LPvAiAMRsKw+tpDfGwPlDOlyfBTbFGkVw/u0MPX+yqsXroIoA=="}]},"directories":{}},"1.1.1":{"name":"slush","description":"The streaming scaffolding system - Gulp as a replacement for Yeoman","version":"1.1.1","homepage":"http://slushjs.github.io","repository":{"type":"git","url":"git://github.com/slushjs/slush"},"author":{"name":"Joakim Bengtson","email":"joakim@klei.se"},"preferGlobal":true,"keywords":["scaffold","stream","project","init","tool","yeoman","gulp"],"files":["lib","bin"],"bin":{"slush":"./bin/slush.js"},"dependencies":{"glob":"~4.0.0","minimist":"~0.1.0","gulp-util":"^2.2.0","pretty-hrtime":"^0.2.0","archy":"^0.0.2","liftoff":"~0.10.0","chalk":"^0.4.0"},"devDependencies":{"mocha":"^1.17.0","should":"^3.1.0","jshint":"^2.4.1","gulp-jshint":"^1.4.0","gulp":"~3.6.2"},"scripts":{"test":"node gulpfile.js && NODE_ENV=test mocha --reporter spec"},"engineStrict":true,"engines":{"node":">= 0.9"},"licenses":[{"type":"MIT","url":"https://raw.github.com/slushjs/slush/master/LICENSE"}],"bugs":{"url":"https://github.com/slushjs/slush/issues"},"_id":"slush@1.1.1","dist":{"shasum":"69d9d9981e425fef60a15535f07c55e8b84aa537","tarball":"https://registry.npmjs.org/slush/-/slush-1.1.1.tgz","npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh27Y1CRA9TVsSAnZWagAAC+wP/RtMS4GxXWxgk/7R8UiL\nuYqs5KjBaw5o2LOkz4N9TGaACN2zYNBc/n1qopRs9NaXvvphL6V6eXZOCc8q\n6WPR//i+Y5bQUYx7wm4VfOBQqOBS28m8fZQq2o5GybOnJStTnG7iLFvsMwWT\nXTYePuwyF+Qq25ebtXPkaQjjs9PdclJqRTysAVBCVagqUMowBXobQasB55WM\nn2euQEXi2g+6QAf+xTVRt9G71ryHZJEuJWx0TlFKjvSNrLy4fA+AFCTOkc7v\nJYrI1hoVf0Ll958VcRMlGp2ssxKp+ldXQa69PpMTvdImLH7BxmEs5eSNCMBf\nh0UvZ94NiAIM3H5VqKHGqFGqPcIMCO1QKcTLsagxqxuF3ncTLnDdUkOg82+r\nAjgwhLLxqcSS9DwmAzQY9mkiBZasBpAwkYz31vHjY01U4fntjf3ueKpGP8wE\n411G3d2+tc1pA94PVtiVsmNa2/PlboRYfeHDX4YXx3qFvAfv8ChskZ3Y0OqO\nMRWX+2+4VL60LFqLPFXr6Nfcp9naU9KpKrJFkXSbcffGks6frXeZkK8dMBDa\nLHJzGUNfYG280/BQ/3fgHI99lXjji5obwUDTpwXI7RUQyuIh8D9BFGPOclUK\nkkkwKRyfWOHwgfD2Xerk9oGBDDnNAvcVT4J5iziW2+CXS1P1DkwaF28FaH2Q\n7ofl\r\n=mIwt\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-upktf9tPfJFjBBCfW3xsTAKLH+e/oxnhFuMi0EVD1VEhMbjYdywPXL5ZeIluNKwnsUmoraTmGu3odyCRxMfYDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9HVlTZeWqLryPiNi7duZYsC3hBWMQI7Z53/E70UH2TAiEA8qQFDM5hFLvZzFFiKbM/5A6B1Dzi84gjtFvwa+Ssigc="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"joakimbeng","email":"joakim@klei.se"},"maintainers":[{"name":"joakimbeng","email":"joakim@klei.se"}],"directories":{}}},"readme":"# slush [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-url]][daviddm-image]\n> The streaming scaffolding system - Gulp as a replacement for Yeoman\n\n## Use Gulp instead of Yeoman\n\nSlush is a tool to be able to use Gulp for project scaffolding.\n\nSlush does not contain anything \"out of the box\", except the ability to locate installed slush generators\nand to run them with [`liftoff`](https://www.npmjs.org/package/liftoff).\n\nTo be able to provide functionality like Yeoman, see: [Yeoman like behavior](#yeoman-like-behavior) below.\n\n## Install\n\nInstall `slush` globally with:\n\n```bash\nnpm install -g slush\n```\n\n## Usage\n\n```bash\nslush <generator>[:<tasks>] [<args>]\n```\n\n* `<tasks>`: a colon (\":\") separated list of a task or tasks to run. If not provided the `default` task in the slushfile is run\n* `<args>`: any other given arguments (not prefixed with \"--\" or \"-\") can be accessed via the `gulp.args` property from within a slushfile\n\n**Example:**\n\n```bash\nslush angular:component myNewComponent\n```\n\nWhich will run task `component` in generator `slush-angular` and `gulp.args` will be set to `[\"myNewComponent\"]`.\n\n### List available generators\n\nIf run without any arguments, slush will list all installed generators.\n\n```bash\nslush\n```\n\n### List available tasks in generator\n\nTo list available tasks within a generator, use the generator name in conjunction with the `--tasks` parameter.\n\n```bash\nslush <generator> --tasks\n```\n\n### Print version(s)\n\nAs usual you can use `-v` or `--version` to get the current slush version:\n\n```bash\nslush -v\n```\n\nIt can also be used together with a generator name:\n\n```bash\nslush <generator> -v\n```\n\nYou'll then get the version for slush, the gulp version installed in the generator and the version number of the given generator.\n\n## Creating a generator\n\nA Slush generator is an npm package following the naming convention `slush-*` and containing a `slushfile.js`.\n\nAdd `slushgenerator` as a keyword in your `package.json`.\n\nAs when building gulp plugins all slush generators need to have `gulp` installed as a local dependency.\n\nAll `slush-*` packages should be installed globally (for now) to be found by the slush executable.\n\n**Note** remember to add gulp plugins (and gulp itself) as ordinary dependencies, instead of devDependencies, when building a slush generator.\n\n\n## Documentation\n\n### Things to remember\n\n* Install `slush` globally\n* Install slush generators globally\n* When creating slush generators:\n   - name them `slush-<name>`\n   - add `slushgenerator` as package keyword\n   - create a slushfile.js\n   - Install `gulp` and used gulp plugins for your generator as ordinary dependencies\n\n### Slush uses gulp\n\nSlush is just the global excutable to trigger slush generators, under the hood it's still gulp that is run using each slushfile as config file.\n\nNeeding help writing slush generators? Check out [Gulp's documentation](https://github.com/gulpjs/gulp/blob/master/docs/README.md)!\n\n### The slushfile\n\nA slushfile is basically a gulpfile, but meant to be used to scaffold project structures.\n\n#### Why not name it \"gulpfile\" then?\n\nBecause a Slush generator may want to use gulp locally for linting, testing and other purposes, in which case it will need to have a gulpfile.\n\n#### Sample slushfile\n\nGiven a slush generator project structure with a web app project template inside `./templates/app/`, a slushfile could be designed like this:\n\n```javascript\nvar gulp = require('gulp'),\n    install = require('gulp-install'),\n    conflict = require('gulp-conflict'),\n    template = require('gulp-template'),\n    inquirer = require('inquirer');\n\ngulp.task('default', function (done) {\n  inquirer.prompt([\n    {type: 'input', name: 'name', message: 'Give your app a name', default: gulp.args.join(' ')}, // Get app name from arguments by default\n    {type: 'confirm', name: 'moveon', message: 'Continue?'}\n  ],\n  function (answers) {\n    if (!answers.moveon) {\n      return done();\n    }\n    gulp.src(__dirname + '/templates/app/**')  // Note use of __dirname to be relative to generator\n      .pipe(template(answers))                 // Lodash template support\n      .pipe(conflict('./'))                    // Confirms overwrites on file conflicts\n      .pipe(gulp.dest('./'))                   // Without __dirname here = relative to cwd\n      .pipe(install())                         // Run `bower install` and/or `npm install` if necessary\n      .on('finish', function () {\n        done();                                // Finished!\n      });\n  });\n});\n```\n\n## Yeoman like behavior\n\nUse these packages/plugins:\n\n- [inquirer](https://github.com/SBoudrias/Inquirer.js) - To prompt the user for input\n- [gulp-install](https://github.com/slushjs/gulp-install) - To install npm and bower packages after scaffolding\n- [gulp-conflict](https://github.com/slushjs/gulp-conflict) - To prompt before overwriting files on regeneration\n\n## Want to contribute?\n\nAnyone can help make this project better!\n\n\n[npm-url]: https://npmjs.org/package/slush\n[npm-image]: https://badge.fury.io/js/slush.svg\n[travis-url]: https://travis-ci.org/slushjs/slush\n[travis-image]: https://travis-ci.org/slushjs/slush.svg?branch=master\n[depstat-url]: https://david-dm.org/slushjs/slush\n[depstat-image]: https://david-dm.org/slushjs/slush.svg\n[daviddm-url]: https://david-dm.org/slushjs/slush.svg?theme=shields.io\n[daviddm-image]: https://david-dm.org/slushjs/slush\n","maintainers":[{"email":"joakim@beng.se","name":"joakimbeng"}],"time":{"modified":"2023-03-08T19:33:48.606Z","created":"2014-03-24T15:26:32.349Z","0.1.0":"2014-03-24T15:26:32.349Z","1.0.0":"2014-03-31T17:41:01.527Z","1.0.1":"2014-05-22T12:43:32.878Z","1.1.1":"2015-02-24T06:33:04.434Z"},"homepage":"http://slushjs.github.io","repository":{"type":"git","url":"git://github.com/slushjs/slush"},"author":{"name":"Joakim Bengtson","email":"joakim@klei.se"},"bugs":{"url":"https://github.com/slushjs/slush/issues"},"readmeFilename":"README.md","keywords":["scaffold","stream","project","init","tool","yeoman","gulp"],"users":{"gaboesquivel":true,"jarvism":true,"mhaidarh":true,"dmcassel":true,"anna-shavurska":true,"masanorinyo":true,"hal9zillion":true,"majgis":true,"jalcine":true,"theodor.lindekaer":true,"artivilla99":true,"pensierinmusica":true,"xiechao06":true,"shriharishastry":true,"faelcorreia":true,"tdmalone":true,"giovanni.bruno":true,"johnend":true,"fengmiaosen":true,"flumpus-dev":true}}