1.4.0 • Published 5 years ago

gulpfile-generator v1.4.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

gulpfile-generator Build Status codecov

Are you tired of always having to manually set up a gulpfile.js for every new project? Me too, that's why I've written this small tool that will generate the gulpfile.js for you, based on your needs.

gulpfile-generator is an interactive tool to help your create your custom gulpfile.js. gulpfile-generator is run as an CLI where you will be asked for what tasks you want in your gulpfile.js. When it is done it will generate a gulpfile.js in the same folder as you are standing in. You can then optionally let it generate a file containing the exact npm command to install the dependencies you need for your gulpfile.js.

Installation

Since you probably want to use this tool for multiple projects, it makes sense to let it live in your global node_modules folder (hence the g flag).

npm install -g gulpfile-generator

Usage

gulpfile-generator

This will start up an interactive interface where you should follow the instructions.

Supports

Development

  1. Install dependencies and make CLI available in root

    make install link

  2. Do code changes

  3. Run generator with

    ./gulpfile-generator

  4. Run linter and tests

    make lint test