forked from MaRoe/mappify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
44 lines (37 loc) · 916 Bytes
/
gulpfile.js
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
38
39
40
41
42
43
'use strict';
var $ = require('gulp-stack').plugins;
var staticFiles = [
{
name: 'jassa',
folder: 'dist/bower_components/jassa',
src: 'app/bower_components/jassa/*.min.js'
}
];
var gulp = require('gulp-stack').gulp([
'clean',
'test',
'app',
'vendor',
'static',
'develop',
'html'
],
{
files : {
js: 'app/**/*.js',
css: 'app/styles/**/*.css',
vendor: [],
partials: 'app/**/*.tpl.html',
test: [],
static: staticFiles
},
bower: 'app/bower_components/**', // String of bower directory string
templateCacheOptions: {root: '/', module: 'jassaUiMappify'}
}
);
/**
* Alias Tasks
*/
//gulp.newTask('default', ['build', 'jshint', 'test']);
gulp.newTask('default', ['build', 'jshint']);
gulp.newTask('build', ['html', 'app', 'static', 'vendor']);