-
Notifications
You must be signed in to change notification settings - Fork 93
/
gulpfile.js
78 lines (72 loc) · 3.15 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
'use strict';
var gulp = require('gulp');
var gulpTasks = require('./frontend/build/gulp-tasks');
gulpTasks(gulp, require('gulp-load-plugins')(), {
frontend: {
path: 'src/Resources/public/admin',
files: {
scripts: {
'lib.js': [
'node_modules/jquery/dist/jquery.js',
'node_modules/admin-lte/node_modules/fastclick/lib/fastclick.js',
'node_modules/admin-lte/node_modules/slimScroll/slimscroll.js',
'node_modules/admin-lte/plugins/pace/pace.js',
'node_modules/admin-lte/node_modules/select2/dist/js/select2.full.js',
'node_modules/admin-lte/plugins/iCheck/icheck.js',
'node_modules/admin-lte/node_modules/bootstrap-daterangepicker/moment.js',
'node_modules/admin-lte/node_modules/bootstrap-daterangepicker/daterangepicker.js',
'node_modules/admin-lte/node_modules/bootstrap/dist/js/bootstrap.js',
'node_modules/admin-lte/dist/js/adminlte.js'
],
'cmf.js': [
'frontend/js/init.js',
'frontend/js/util.js',
'frontend/js/modules/**/*.js',
'frontend/js/admin-lte-functions.js',
'frontend/js/functions.js',
'frontend/js/script.js'
]
},
styles: {
'lib.css': [
'node_modules/admin-lte/node_modules/bootstrap/dist/css/bootstrap.css',
'node_modules/font-awesome/css/font-awesome.css',
'node_modules/ionicons/css/ionicons.css',
'node_modules/admin-lte/plugins/pace/pace.css',
'node_modules/admin-lte/node_modules/select2/dist/css/select2.css',
'node_modules/admin-lte/plugins/iCheck/all.css',
'node_modules/admin-lte/node_modules/bootstrap-daterangepicker/daterangepicker.css',
'node_modules/admin-lte/dist/css/AdminLTE.css',
'node_modules/admin-lte/dist/css/skins/skin-blue.css'
],
'cmf.css': {
options: {
pleeease: {
sass: {
includePaths: ['frontend/scss']
}
}
},
files: [
'frontend/scss/cmf.scss'
]
}
},
assets: {
'fonts': {
'files': [
'node_modules/font-awesome/fonts/*',
'node_modules/ionicons/fonts/*',
'node_modules/admin-lte/node_modules/bootstrap/fonts/*'
]
},
'iCheck': {
'dest': 'assets/admin-lte/plugins/iCheck',
'files': [
'node_modules/admin-lte/plugins/iCheck/**/*.png'
]
}
}
}
}
});