init gulpfile
commit
39b64d5112
|
@ -0,0 +1 @@
|
||||||
|
node_modules/
|
|
@ -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'
|
||||||
|
]);
|
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue