Skip to content

Instantly share code, notes, and snippets.

@zxqx
Created April 14, 2015 17:29
Show Gist options
  • Save zxqx/92d573dc4b7dadb2a4c6 to your computer and use it in GitHub Desktop.
Save zxqx/92d573dc4b7dadb2a4c6 to your computer and use it in GitHub Desktop.
module.exports = function(grunt) {
grunt.loadNpmTasks('sbp-frontend');
grunt.initConfig({
sbp: {
client: {
options: {
vendorLibs: [
'angular',
'angular-ui-router',
'babel/polyfill'
]
}
}
},
copy: {
'angulr-fonts-dev': {
expand: true,
cwd: './node_modules/angulr/fonts',
src: '**',
dest: './dist/client/debug/fonts'
},
'angulr-fonts': {
expand: true,
cwd: './node_modules/angulr/fonts',
src: '**',
dest: './dist/client/release/fonts'
},
'font-awesome-fonts-dev': {
expand: true,
cwd: './node_modules/font-awesome/fonts',
src: '**',
dest: './dist/client/debug/fonts'
},
'font-awesome-fonts': {
expand: true,
cwd: './node_modules/font-awesome/fonts',
src: '**',
dest: './dist/client/release/fonts'
},
'bootstrap-fonts-dev': {
expand: true,
cwd: './node_modules/bootstrap/fonts',
src: '**',
dest: './dist/client/debug/fonts'
},
'bootstrap-fonts': {
expand: true,
cwd: './node_modules/bootstrap/fonts',
src: '**',
dest: './dist/client/release/fonts'
},
'simple-line-fonts-dev': {
expand: true,
cwd: './node_modules/simple-line-icons/fonts',
src: '**',
dest: './dist/client/debug/fonts'
},
'simple-line-fonts': {
expand: true,
cwd: './node_modules/simple-line-icons/fonts',
src: '**',
dest: './dist/client/release/fonts'
}
}
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment