GithubHelp home page GithubHelp logo

kojiwakayama / generator-node-gulp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from youngmountain/generator-node-gulp

0.0 1.0 0.0 368 KB

Create a Node.js module with yo, including gulp and Mocha unit tests.

License: MIT License

JavaScript 96.68% PHP 3.32%

generator-node-gulp's Introduction

# node gulp [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-url]][daviddm-image] [![Coverage Status][coveralls-image]][coveralls-url]

Based of generator-node

This generator creates a new Node.js module, generating all the boilerplate you need to get started with best-of-breed form the gulp ecosystem. The generator also optionally installs additional gulp plugins, ee the list below.

Installation

Install the generator by running: npm install -g generator-node-gulp.

Features

  • Customize dependencies prompt by editing the settings.json file see.
  • Prefill prompt with the last used values for
    • GitHub username
    • Author's Name
    • Author's Email
    • Author's Homepage

devDependencies

dependencies

You can customize the dependencies prompt with your preferred one by editing the settings.json. The file is located in the root of the generator-node-gulp /usr/local/lib/node_modules/generator-node-gulp/.

settings.json

By default, the file looks something like this.

{
  "meta": {
    "githubUsername": "stefanbuck",
    "authorName": "Stefan Buck",
    "authorEmail": "[email protected]",
    "authorUrl": "www.stefanbuck.com"
  },
  "dependencies": [
    {
      "name": "lodash",
      "description": "A utility library"
    },
    {
      "name": "q",
      "description": "A library for promises"
    },
    {
      "name": "debug",
      "description": "tiny node.js debugging utility"
    }
  ]
}

Usage

At the command-line, cd into an empty directory, run this command and follow the prompts.

yo node-gulp

Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.

Support

Should you have any problems or wishes for improvements, feel free to open up an issue.

Articles

Some recommended articles for the start with node.

Team

License

MIT License

Logo by Koji Wakayama

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.