enable less sourcemaps, add cleanup for npm cmds run with --prefix

This commit is contained in:
Leigh Johnson 2016-08-19 13:12:31 -04:00
parent 8893f8278a
commit 25fa05da81
4 changed files with 11 additions and 4 deletions

View File

@ -21,6 +21,7 @@ module.exports = function(grunt) {
// browser-sync + websocket proxy
grunt.registerTask('dev', [
'clean:tmp',
'clean:static',
'concurrent:dev',
'browserSync:http',
@ -28,6 +29,8 @@ module.exports = function(grunt) {
]);
grunt.registerTask('release', [
'clean:tmp',
'clean:static',
'webpack:prod',
'concurrent:prod',
]);

View File

@ -14,7 +14,7 @@
ng-class="{'SmartStatus--success icon-job-successful': job.value === 1,
'SmartStatus--failed icon-job-failed': job.value === -1,
'SmartStatus--running icon-job-successful': job.value === 0,
'SmartStatus-vertCenter': singleJobStatus}}">
'SmartStatus-vertCenter': singleJobStatus}">
</i>
</a>
</div>

View File

@ -1,4 +1,6 @@
module.exports = {
options: { force: true },
static: 'static/*',
coverage: 'coverage/*'
coverage: 'coverage/*',
tmp: '../../tmp'
};

View File

@ -11,7 +11,10 @@ module.exports = {
'client/legacy-styles/*.less',
'client/src/**/*.less',
]
}]
}],
options: {
sourceMap: true
}
},
prod: {
@ -23,7 +26,6 @@ module.exports = {
},
options: {
compress: true,
}
}
};