forked from hoelsner/product-database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
54 lines (52 loc) · 1.84 KB
/
Gruntfile.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
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
copy: {
staticfiles: {
files: [
{
expand: true,
cwd: "node_modules/",
src: [
'bootstrap/**',
'bootstrap-tour/**',
'datatables.net/**',
'datatables.net-bs/**',
'datatables.net-buttons/**',
'datatables.net-buttons-bs/**',
'datatables.net-fixedheader/**',
'datatables.net-fixedheader-bs/**',
'datatables.net-plugins/**',
'font-awesome/**',
'jszip/**',
'pdfmake/**',
'jquery/**'
],
dest: 'static/lib'
}
]
}
},
clean: {
dist: [
'static/lib/*/*',
'static/lib/*/.*',
'!static/lib/*/dist',
'!static/lib/*/js',
'static/lib/bootstrap/js',
'!static/lib/*/css',
'!static/lib/pdfmake/build',
'!static/lib/font-awesome/css',
'!static/lib/font-awesome/fonts',
'!static/lib/bootstrap-tour/build',
'!static/lib/datatables.net-plugins/**',
'static/lib/**/*.sh',
'static/lib/**/*.json',
'static/lib/**/*.md',
'static/lib/**/*.txt'
]
}
});
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-clean');
};