Skip to content

Karnith/sails-generate-new-gulp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image_squidhome@2x.png

sails-generate-new-gulp

Depreciated.. use machinepack-sailsgulpify


NPM version NPM downloads Dependency Status MIT License

A gulp generator for Sails.js that works with sails lift.

Install

$ npm install -g sails-generate-backend-gulp
$ npm install -g sails-generate-gulpfile
$ npm install -g sails-generate-frontend-gulp
$ npm install -g sails-generate-new-gulp

.sailsrc

.sailsrc needs to be added to the working dir with the following:

{
    "generators": {
        "modules": {
            "new": "sails-generate-new-gulp",
            "frontend": "sails-generate-frontend-gulp",
            "backend": "sails-generate-backend-gulp",
            "gulpfile": "sails-generate-gulpfile"
        }
    }
}

Usage

On the command line

sails new <project name>

In a node script

var generate = require('sails-generate');
var scope = {};
generate(require('sails-generate-new-gulp'), scope, function (err) {
	if (err) throw err;

	// Log output available in `scope` for your enjoyment:
	console.log(scope);
});

Contributing to this generator

See CONTRIBUTING.md.

License

MIT © 2014 Karnith

Sails is free and open-source under the MIT License.

About

Generate a Sails app using gulp instead of grunt.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%