commit 39b64d5112cc0a61942bf350a8a456179128b67d Author: Juanfran Date: Thu Feb 12 12:42:46 2015 +0100 init gulpfile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..40b878d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..a9928f2 --- /dev/null +++ b/gulpfile.js @@ -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' +]); diff --git a/index.coffee b/index.coffee new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/index.coffee @@ -0,0 +1 @@ + diff --git a/package.json b/package.json new file mode 100644 index 0000000..03d7657 --- /dev/null +++ b/package.json @@ -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" + } +}