grafana/tasks/options/copy.js

35 lines
737 B
JavaScript
Raw Normal View History

2013-11-15 07:07:14 +08:00
module.exports = function(config) {
return {
// copy source to temp, we will minify in place for the dist build
everything_but_less_to_temp: {
cwd: '<%= srcDir %>',
expand: true,
src: ['**/*', '!**/*.less'],
2013-11-15 07:07:14 +08:00
dest: '<%= tempDir %>'
},
2015-09-10 18:42:24 +08:00
public_to_gen: {
2015-09-10 17:26:40 +08:00
cwd: '<%= srcDir %>',
expand: true,
2015-09-10 17:26:40 +08:00
src: ['**/*', '!**/*.less'],
dest: '<%= genDir %>'
2015-12-16 19:21:13 +08:00
},
node_modules: {
cwd: './node_modules',
expand: true,
src: [
2015-12-17 00:01:34 +08:00
'angular2/**/*',
2015-12-16 19:21:13 +08:00
'systemjs/**/*',
'es6-promise/**/*',
'es6-shim/**/*',
'reflect-metadata/**/*',
'rxjs/**/*',
'zone/**/*',
],
dest: '<%= srcDir %>/vendor/jspm'
2013-11-15 07:07:14 +08:00
}
2013-11-15 07:07:14 +08:00
};
};