-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathGruntfile.js
28 lines (28 loc) · 862 Bytes
/
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
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
bowercopy: {
options: {
srcPrefix: 'bower_components',
destPrefix: 'web/assets'
},
scripts: {
files: {
'js/semantic.js': 'semantic-ui/build/packaged/javascript/semantic.min.js'
}
},
stylesheets: {
files: {
'css/semantic.css': 'semantic-ui/build/packaged/css/semantic.min.css'
}
},
fonts: {
files: {
'fonts': 'semantic-ui/build/packaged/fonts'
}
}
}
});
grunt.loadNpmTasks('grunt-bowercopy');
grunt.registerTask('default', ['bowercopy']);
};