Cleanup grunt.
This commit is contained in:
parent
37776e7dcd
commit
b10c2c9df4
@ -26,14 +26,10 @@ module.exports = function(grunt) {
|
||||
|
||||
grunt.registerTask('generatestatic', [
|
||||
'shell:npm_install',
|
||||
'bower:install',
|
||||
'bower_concat',
|
||||
//'copy:bootstrap-select.css.map',
|
||||
]);
|
||||
|
||||
grunt.registerTask('jsdev', [
|
||||
'jshint',
|
||||
'concat'
|
||||
]);
|
||||
|
||||
grunt.registerTask('dev', [
|
||||
|
@ -1,16 +0,0 @@
|
||||
module.exports = {
|
||||
install: {
|
||||
options: {
|
||||
copy: false
|
||||
}
|
||||
},
|
||||
frontend: {
|
||||
dest: 'accountant/frontend/static/third-party',
|
||||
|
||||
options: {
|
||||
expand: true,
|
||||
stripAffix: true,
|
||||
keepExpandedHierarchy: false
|
||||
}
|
||||
}
|
||||
};
|
@ -1,8 +0,0 @@
|
||||
module.exports = {
|
||||
main: {
|
||||
dest: 'accountant/frontend/static/build/js/vendor.js',
|
||||
cssDest: 'accountant/frontend/static/build/css/vendor.css',
|
||||
dependencies: {
|
||||
}
|
||||
},
|
||||
};
|
@ -1,15 +0,0 @@
|
||||
module.exports = {
|
||||
options: {
|
||||
stripBanners: false,
|
||||
banner: '<%= banner %>\n',
|
||||
process: function(src, filepath) {
|
||||
// Add comments with original filename.
|
||||
return '// ### Begin: ' + filepath + ' ### //\n' + src +
|
||||
'// ### End: ' + filepath + ' ### //\n';
|
||||
}
|
||||
},
|
||||
frontend_js: {
|
||||
src: '<%= paths.frontend_js %>',
|
||||
dest: '<%= paths.frontend_build %>/js/app.js'
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user