Depreciated.. use machinepack-sailsgulpify
A gulp generator for Sails.js that works with sails lift.
$ 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 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"
}
}
}
sails new <project name>
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);
});
See CONTRIBUTING.md
.
Sails is free and open-source under the MIT License.