-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulpfile.js
More file actions
37 lines (33 loc) · 950 Bytes
/
gulpfile.js
File metadata and controls
37 lines (33 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
var gulp = require('gulp'),
nib = require('nib'),
stylus = require('gulp-stylus'),
concat = require('gulp-concat'),
nodemon = require('gulp-nodemon');
gulp.task('develop', function () {
process.env.NODE_ENV = 'dev';
nodemon({ script: 'server.js', ext: 'hbs js', ignore: ['node_modules/', 'test/', 'facets/*/test/'] })
.on('restart', function () {
console.log('Restarted!')
})
})
/*
var footerScripts = [
"static/js/jquery-2.1.0.min.js",
"static/js/d3.js",
"static/js/charts.js",
"static/js/sh_main.js",
"static/js/sh_javascript.min.js",
"static/js/aristotle.js",
"static/js/scripts.js",
"static/js/google-analytics.js",
"https://ssl.google-analytics.com/ga.js",
"static/js/hiring.js"
];
gulp.task('concat', function () {
gulp.src(footerScripts)
.pipe(uglify())
.pipe(concat('footer.min.js'))
.pipe(gulp.dest('static/js/'))
})
*/
gulp.task('default', [])