init gulpfile

master
Juanfran 2015-02-12 12:42:46 +01:00
commit 39b64d5112
4 changed files with 57 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules/

29
gulpfile.js Normal file
View File

@ -0,0 +1,29 @@
var gulp = require('gulp');
var coffeelint = require('gulp-coffeelint');
var nodemon = require('gulp-nodemon');
var plumber = require("gulp-plumber");
var cache = require("gulp-cache");
gulp.task('lint', function () {
gulp.src(['**/*.coffee', '!node_modules/**/*'])
.pipe(cache(coffeelint(), {
success: function (file) {
return file.coffeelint.success;
},
value: function (file) {
return {
coffeelint: file.coffeelint
};
}
}))
.pipe(coffeelint.reporter());
});
gulp.task('develop', function () {
nodemon({ script: 'index.coffee'})
.on('change', ['lint']);
});
gulp.task('default', [
'develop'
]);

1
index.coffee Normal file
View File

@ -0,0 +1 @@

26
package.json Normal file
View File

@ -0,0 +1,26 @@
{
"name": "TaigaIO-Events",
"version": "0.0.1",
"description": "Taiga project management system (events)",
"main": "index.js",
"keywords": [
"Taiga",
"Agile",
"Project Management",
"Github"
],
"author": "Kaleidos OpenSource SL",
"licenses": [
{
"type": "AGPL-3.0",
"url": "https://github.com/taigaio/taiga-front/blob/master/LICENSE"
}
],
"devDependencies": {
"gulp": "^3.8.11",
"gulp-cache": "^0.2.4",
"gulp-coffeelint": "^0.4.0",
"gulp-nodemon": "^1.0.5",
"gulp-plumber": "^0.6.6"
}
}