-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathGruntfile.js
38 lines (34 loc) · 1.02 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
module.exports = function(grunt) {
grunt.initConfig({
sync: {
main: {
files: [{
cwd: 'bower_components/',
src: [ '*/*.js',
'*/*.js.map',
'*/*.css'],
dest: 'client/lib'
},{
cwd: 'bower_components/angular-gridster/dist/',
src: [ '*'],
dest: 'client/lib/angular-gridster/'
},{
cwd: 'bower_components/bootstrap/dist/',
src: [ '*/*'],
dest: 'client/lib/bootstrap/'
},{
cwd: 'bower_components/jquery/dist',
src: ['*.js', '*.map'],
dest: 'client/lib/jquery'
},{
cwd: 'bower_components/underscore',
src: ['*.js', '*.map'],
dest: 'client/lib/underscore'
}],
verbose: true // Display log messages when copying files
}
}
});
grunt.loadNpmTasks('grunt-sync');
grunt.registerTask('default', ['sync']);
};